Spectogram is the visual representation of spectrum of sound or frequencies. it could be others signal.
the Y axis is the vertical one. it could be renamed : the dependent axis or the effect.
the X axis is the horizontal one. it could be renamed : the independent or the cause