which graph represents a function?

The graph on the top right would represent a function. A function line on a graph includes one line going in one direction. It's not 2 lines, its not just dots either and it definitely isn't in a square because, as I said, it goes in ONE direction. Hope this helped!
Answer:
Graph on top right.
Step-by-step explanation:
We will analyze the graphs given.
A). Graph 1 has two lines showing different points on them and a common point of intersection.
Here lines are representing two functions but the graph is of a system of functions.
So it's not the correct option.
B). this graph is showing a line having points on it with different values of x and y. therefore, this is the correct option.
C). This is the graph representing the system of equations but not the functions.
D). It's a graph of scatter points so not the function.