The instantaneous velocity is the slope of the line on a position-versus-time graph.
Turning this idea around, the displacement is the area under the curve of the velocity-versus-time graph.