The dependent variable is placed on a graph's y-axis. This is the vertical line or the line that extends upward. The independent variable is placed on the graph's x-axis or the horizontal line.