Which graph represents a function?

Answer:
Graph B represents a function.
Step-by-step explanation:
Graph B is a quadratic function. y = x^2