which variable goes on the y axis
The independent variable is the amount of light and the moth's reaction is the dependent variable. A change in the independent variable directly causes a change in the dependent variable. If the dependent and independent variables are plotted on a graph, the x-axis would be the independent variable and the y-axis would be the dependent variable.