Question: is x horizontal or vertical axis?
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'.