A graph, too, can easily tell us whether the shown relation is a function or not. This rule is called the Vertical Line Test: if any vertical line that you can draw on top of the graph intersects only once with the curve, then the relation is a function; otherwise, if you can draw a vertical line that intersects twice or more with the curve, then the relation is NOT a function.
This is a function! Miriam Briskman, CC BY-NC 4.0
This is NOT a function. Miriam Briskman, CC BY-NC 4.0