which graph is a function?

Answer:
Technically they would both be a function because each x value has a different y value but i'll say the straight one would be the better function. Warning Both graphs are proper functions. It's just that the first one would be a better answer if there was only one answer choice.
Step-by-step explanation: