Which graph represents y as a function of x?
Four graphs labeled A, B, C, and D on coordinate planes. Graph A shows a horizontal line at y = -1. Graph B shows a sideways parabola opening to the right. Graph C shows a circle centered at the origin. Graph D shows a vertical line at x = 2.