which axis is the independent variable
In both math and science, dependent and independent variables can be plotted on the x and y axes of a graph. The convention is to use the independent variable as the x-axis and the dependent variable as the y-axis. There is typically a clear and obvious relationship between x and y shown on the graph.