Histograms

Suppose you measure how many minutes each child in a class spent reading: a long list of numbers like 12, 7, 23, 18, 9, 31, 16, \dots A bare list is hard to make sense of. A histogram turns it into a picture by sorting the numbers into equal groups and showing how big each group is. The recipe is three steps:

A tall bar means lots of values landed in that interval; a short bar means only a few did. The bars sit flush against each other with no gaps, because the numbers run smoothly from one bin straight into the next — there is no empty space between "0 to 10" and "10 to 20".

Histogram or bar chart?

A histogram looks a lot like a bar chart, but they answer different questions, and there is one quick way to tell them apart: do the bars touch?

So when you read a histogram you always read an interval off the bottom axis (like "the 1020 band"), never a single value.

The two traps that trip people up:

a fish a longer fish

A fisher catches a bucket of fish and measures each one. Lengths like 9 cm, 14 cm, 11 cm don't fall into neat groups by themselves — a fish can be any length. So we make bands: 010 cm, 1020 cm, 2030 cm. Drop each fish into its band, count the piles, and the tallest bar shows the most common size of fish. Because length is continuous, the bars touch.

The bin width changes the picture

Here is one fixed data set of 30 values, drawn twice. The first histogram uses a narrow bin width of 2; the second uses a wide bin width of 5 — exactly the same numbers, only the binning differs.

The narrow bins reveal the real shape: a hump around 57 with a tail trailing off to the right. The wide bins flatten that story into three blunt bars — the peak and the tail are smeared together. Too wide hides the detail; too narrow (a width of, say, 0.5) would splinter the data into a spiky, near-empty mess. Choosing a sensible bin width is half the craft of a good histogram.

Read a histogram

Below is a histogram of how long the children in a class read for, sorted into five 10-minute bands. The bars touch and the bottom axis is labelled in minutes. Press Refresh for a fresh class, then practise reading it:

Worked examples

Take a histogram with these four bands:

  1. Which band is most common? The tallest bar is over 1020, with 8 children — so most children read for between 10 and 20 minutes.
  2. How many read for less than 10 minutes? That is the first band only: 3 children.
  3. How many children altogether? Add every bar: 3 + 8 + 5 + 2 = 18 \text{ children.}

an apple a weighing scale

A grower weighs every apple from a tree and groups the weights into bands: 100120 g, 120140 g, and so on. The histogram's tallest bar might sit over 120140 g — that is the most common apple size. Add up all the bars and you get the total number of apples picked. One picture answers "what is a typical apple?" and "how many were there?" at the same time.