On a distance-time graph, the vertical axis represents distance traveled by an object, while the horizontal axis represents time. Therefore, the distance traveled by the object is usually represented by the vertical axis, with distance increasing as you move up the axis. The slope of the line on the graph represents the object's speed or velocity.
So, the distance traveled by the object is usually represented by the distance axis on the graph.