How does the procedure of drawing a histogram differ when class intervals are unequal in comparison to equal class intervals in a frequency table?
A histogram is a set of rectangles with bases as the intervals between class boundaries (along X-axis) and with areas proportional to the class frequency. If the class intervals are of equal width, the area of the rectangles is proportional to their respective frequencies.
However, sometimes it is convenient or at times necessary, to use varying width of class intervals. For graphical representation of such data, height for area of a rectangle is the quotient of height i.e., frequency and base i.e., width of the class interval. When intervals are equal, all rectangles have the same base and area can conveniently be represented by the frequency of the interval.
But, when bases vary in their width, the heights of rectangles are to be adjusted to yield comparable measurements by dividing class frequency by width of the class interval instead of absolute frequency. This gives us the frequency density for the purpose of comparison.