Which graph shows a set of ordered pairs that represents a function?

Answer: D
Step-by-step explanation:
Other ones show 1 and -1 which wouldn't make it a function. Answer D passes vertical line test.