I am a bit confused with histograms .

My book says that the area of a rectangle is proportional to the frequency in histograms .

Consider a histogram with equal class widths , is the frequency the height of the rectangle or the area of a rectangle ?