Displacement vs time graph for oscillation gives the velocity at any particular time. One cycle reads the period.
Displacement vs distance graph for wave gives the velocity at any particular location . One cycle reads the wavelength. The speed of the wave is v = wavelength/period.