Presenting data: histograms, cumulative frequency and box plots

Maths: Applications and Interpretation · Statistics and probability. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Maths: Applications and Interpretation topics

Histogram of plant heights with equal class widths: 150–160 cm frequency 4, 160–170 cm 9, 170–180 cm 15, 180–190 cm 8 and 190–200 cm 4.
Histogram of plant heights with equal class widths: 150–160 cm frequency 4, 160–170 cm 9, 170–180 cm 15, 180–190 cm 8 and 190–200 cm 4.

The idea

A histogram shows continuous data grouped into classes. The bars touch, and when the classes have equal width the height of each bar is the frequency of that class.

A cumulative frequency graph shows a running total: the number of values less than or equal to each upper class boundary. You read it backwards, from the frequency axis across to the curve and down, to estimate the median, the quartiles and percentiles.

A box-and-whisker diagram shows five numbers: minimum, lower quartile, median, upper quartile and maximum. Two box plots on the same scale make it easy to compare the average and the spread of two sets of data.

In simpler words

A histogram shows grouped data with bars that touch. A cumulative frequency graph shows a running total. You read it across and down to find the median and quartiles. A box plot shows five numbers: smallest, lower quartile, median, upper quartile and largest. Two box plots side by side help you compare two sets of data.

An everyday comparison

A cumulative frequency graph is like the odometer in a car on a long trip. It never goes down; it just adds up the distance so far. To find when you passed the halfway point, look for half the total. The comparison stops working because the graph adds up frequencies at class boundaries, not continuous distance.

Rules to remember

Common mistake

Students read the median at half of the highest value on the horizontal axis. Go to n/2 on the cumulative frequency axis, across to the curve, then down to read the value.

In the exam

Plot cumulative frequency against upper class boundaries. To estimate the median, mark n/2 on the vertical axis, go across to the curve and down, and draw these lines on the graph. Do the same at n/4 and 3n/4 for quartiles. For box plots, use a scale. When comparing, comment on the median for average and IQR for spread, in context.

Worked example

A cumulative frequency curve for the times of 120 runners passes through (42, 30), (50, 60) and (61, 90), with time in minutes first. Estimate the median, the interquartile range and the number of runners who took more than 61 minutes.

  1. n = 120, so the median is at 120 ÷ 2 = 60: median = 50 minutes.
  2. Q1 is at 120 ÷ 4 = 30, giving 42; Q3 is at 3 × 120 ÷ 4 = 90, giving 61.
  3. IQR = 61 − 42 = 19 minutes.
  4. More than 61 minutes: 120 − 90 = 30 runners.

Answer: Median 50 minutes; IQR 19 minutes; 30 runners.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Read the full notes

Keep going

← Collecting data and samplingMeasures of central tendency and dispersion →Take a Maths: Applications and Interpretation test