Question: is x or y horizontal?
Answer: The x-axis is horizontal, and the y-axis is vertical. One way to remember which axis is which is 'x is a cross so the -axis is across'.