Question: how are dependent and independent variables related to a line or bar graph?
Answer: Choose your x and y carefully. Scientists like to say that the “independent” variable goes on the x-axis (the bottom, horizontal one) and the “dependent” variable goes on the y-axis (the left side, vertical one).