E9.7 Histograms

Syllabus
0580–2028–2029
Topic
E9.7
Level
Extended

Draw and interpret a histogram

A histogram represents grouped continuous data so that each bar's area represents its class frequency. This is why unequal class widths require frequency density on the vertical axis.

Feature Histogram rule
horizontal axis mark continuous class boundaries; bar width equals class width
vertical axis label Frequency density and use a linear scale
bars draw touching rectangles over the exact class intervals
frequency compare bar areas, not heights alone

A tall narrow bar can have less frequency than a shorter wide bar. To compare classes, use area =class width×frequency density=\text{class width}\times\text{frequency density}. The tallest bar identifies the greatest frequency density, while the greatest area identifies the greatest frequency.

If one class has width 1010 and density 44, its area and frequency are 4040. A class of width 2525 and density 22 has frequency 5050: it is shorter but contains more observations.

Do not leave gaps between adjacent continuous intervals, plot class midpoints as bar positions, or label the vertical axis Frequency when widths differ. A bar chart compares categories using heights; a histogram encodes grouped frequency through area.

Calculate with frequency density

Frequency density adjusts frequency for class width, allowing unequal-width classes to be compared fairly in a histogram.

frequency density=frequencyclass width,frequency=density×class width\text{frequency density}=\frac{\text{frequency}}{\text{class width}},\qquad \text{frequency}=\text{density}\times\text{class width}

Class Width Frequency Density
0<x100<x\leq10 10 20 20÷10=220\div10=2
10<x3010<x\leq30 20 30 30÷20=1.530\div20=1.5
30<x3530<x\leq35 5 25 25÷5=525\div5=5

If a printed histogram gives bar heights in centimetres rather than a labelled density scale, all heights are proportional to density. Find the common multiplier from one known bar, then apply it to every density. To fill a missing class when total frequency is known, subtract the frequencies represented by the existing bar areas first.

To recover a frequency from the diagram, read the density and multiply by the class width. For only part of a class, the corresponding rectangle area gives an estimate based on the distribution within that class.

Class width is upper boundary minus lower boundary, not the midpoint or number of labels. Do not compare raw frequencies to choose bar height, and do not use a different height multiplier for different bars.