Histograms and frequency density
Continuous data. Vertical axis is frequency density, not frequency. Area of bar = frequency.
Why frequency density? Continuous data is grouped into classes that may have unequal widths. If you plotted frequency on the -axis, a wide class of items would look as tall as a narrow class of items, even though the wide one has fewer items per unit interval. The visual is misleading.
Solution. Plot
Now the area of each bar (FD width) equals the frequency. Adjacent classes compare correctly.
Drawing rules.
- Bars touch (no gaps between classes).
- -axis labelled 'Frequency density'.
- Class boundaries on -axis.
- Equal-width classes still use FD on the -axis (so the same axis works for any data).
Reading a histogram backwards. Given FD for class width , frequency .
Example. Classes with frequencies have widths and FDs . The middle class is tallest; the third class is widest but shorter.
- Histogram = continuous data, bars touch.
- FD = frequency / width; plot FD on -axis.
- Area of bar = frequency of class.
- Same axis works for equal- and unequal-width classes.