Usually, time is the independent variable, so it goes in the x-axis.
Position is similar to distance, and spedd is the rate of variation of position or distance. All of these three are usually graphed in the y-axis, as they depend on time.
1.6m questions
2.0m answers