A sound spectrogram is a plot of frequency as a function of time, with darker areas representing greater intensity.
A spectrogram is three dimensional plot of energy of the frequency content of a signal as it changes over time.
Vertical Axis (Y) Frequency.
The spectrogram maps out sound in a similar way to a musical score, only mapping frequency rather than musical notes.
It is so because spectrogram is a way of representing the strength or loudness of a signal over time at various frequencies. Whereas, the amplitude represents its frequency and time by only third dimension but at a particular/specific time and frequency.
To learn more about spectrogram here
https://brainly.com/question/5083666
#SPJ4