Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Core Investigating Data

Histograms and Stem-and-Leaf Plots

20 practice questions 2 video lessons Theory + worked examples

Histograms and stem-and-leaf plots are two ways to display numerical data so its pattern can be seen. This NSW Year 9 Core maths subtopic revises reading and using them from Stage 4 (NESA outcome MA4‑DAT‑C‑02), including back-to-back plots and grouped class intervals.

You will read bar heights, count scores and find the mode, mean and median from a histogram, including one with class intervals, and turn a stem-and-leaf plot back into a list to find its median, mode and range. You will build an ordered stem-and-leaf plot from raw data, read back-to-back plots from the stem outwards, as when comparing boys and girls in a writing task, choose a suitable display for a set of data, and see how one outlier changes the range. It is part of Year 9 Core Investigating Data.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Histograms and Stem-and-Leaf Plots - Video - Stem and Leaf Plots and Histograms Watch
  • Histograms and Stem-and-Leaf Plots - Video - Side by Side Stem and Leaf Plots Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A histogram shows how often each score occurs, and a stem-and-leaf plot does the same while keeping every score. This Year 9 maths page revises both displays from earlier years: reading the total and the mode, finding the mean with \(f \times x\), using class intervals, and finding the median, mode and range from ordinary and back-to-back stem-and-leaf plots.

A histogram puts the scores along the bottom and the frequency (how many times each score occurs) up the side. The bars touch, because the bottom axis is a number line. A column graph for categories, such as favourite sport, has gaps between its bars.

In a grouped histogram each bar covers a class interval, such as \(60\)–\(69\). The bar height is how many scores fall in that interval.

A stem-and-leaf plot splits each score in two. The stem is the tens digit and the leaf is the units digit, so \(6 \mid 4\) means \(64\). Every leaf is one score. The key says what a stem and leaf stand for. In some plots \(14 \mid 2\) means \(14.2\).

A back-to-back stem-and-leaf plot shows two groups on one stem. The left group's leaves are read from the stem outwards.

Numerical data with a small spread suit a dot plot or a histogram. A wider spread suits a stem-and-leaf plot, which keeps the actual values.

Histogram of 20 scoresA histogram with bars of height 4, 8, 6 and 2 above the scores 1, 2, 3 and 4. The bars touch. The tallest bar, above 2, is shaded red. 0 2 4 6 8 10 1 2 3 4 Score Frequency
The height of each bar is the frequency. Adding the heights gives \(4 + 8 + 6 + 2 = 20\) scores. The tallest bar is above \(2\), so \(2\) is the mode of these scores.
Histogram of test marks grouped in class intervalsA grouped histogram of 25 test marks in class intervals 40 to 49, 50 to 59, 60 to 69, 70 to 79 and 80 to 89, with frequencies 3, 7, 9, 4 and 2. The bars for 60 and above are shaded red. 0 2 4 6 8 10 40 50 60 70 80 90 Test mark Frequency
Grouped data: each bar covers a class interval such as \(60\)–\(69\). Marks of \(60\) or more are the red bars: \(9 + 4 + 2 = 15\).

From a histogram, exactly as from a frequency table:

\[\text{number of scores} = \sum f \qquad \text{mean} = \dfrac{\sum fx}{\sum f}\]
mean=∑fx∑f
Reading the displays. The mode is the score under the tallest bar, or the leaf repeated most often. For “more than” or “less than” a value, add the frequencies of the bars it covers. In a stem-and-leaf plot the first leaf is the lowest score and the last leaf is the highest, so the range is last minus first.
The median from a stem-and-leaf plot. Count the leaves to get \(n\). The median is in position \(\dfrac{n + 1}{2}\). Count along the leaves, which are already in order, to that position.
Building a stem-and-leaf plot. Choose the stems from the lowest and highest scores. Write each score's units digit next to its tens digit, then put each row's leaves in order and add a key.

How to read a histogram or a stem-and-leaf plot

  1. Read the axes or the key. Check whether bars are single scores or class intervals, and what a stem and leaf mean.
  2. Count the scores: add the bar heights, or count the leaves.
  3. Find the measure you need: mode from the tallest bar or most repeated leaf, range as highest minus lowest, median by counting to the middle position.
  4. For the mean, multiply each score by its frequency, add, and divide by the number of scores.
  5. For back-to-back plots, read the left leaves outwards from the stem, and work out each group on its own before comparing.
Example 1 — Reading a histogram
A histogram has bars of height \(3\), \(9\), \(7\) and \(1\) above the scores \(0\), \(1\), \(2\) and \(3\). How many scores are there, and what is the mode?
Solution
Histogram with bars 3, 9, 7 and 1A histogram with bars of height 3, 9, 7 and 1 above the scores 0, 1, 2 and 3. The tallest bar, above 1, is shaded red. 0 2 4 6 8 10 0 1 2 3 Score Frequency

Each bar height is a frequency, so add every height for the number of scores. The mode is the score under the tallest bar.

\(\text{number of scores}\)\(=\)\(3 + 9 + 7 + 1\)
\(\)\(=\)\(\mathbf{20}\)
\(\text{tallest bar}\)\(=\)\(9\), above the score \(1\)
\(\text{mode}\)\(=\)\(\mathbf{1}\)
3+9+7+1=20

The mode is the score \(1\), not the height \(9\).

Example 2 — The mean from a histogram
Find the mean of the data in Example 1.
Solution

A bar of height \(f\) above the score \(x\) stands for \(f\) scores of \(x\). Work out \(f \times x\) for each bar.

\(3 \times 0\)\(=\)\(0\)
\(9 \times 1\)\(=\)\(9\)
\(7 \times 2\)\(=\)\(14\)
\(1 \times 3\)\(=\)\(3\)
\(\sum fx\)\(=\)\(26\)

Divide by the number of scores, \(\sum f = 20\):

\(\text{mean}\)\(=\)\(\dfrac{26}{20}\)
\(\)\(=\)\(\mathbf{1.3}\)
mean=2620=1.3
Example 3 — Mode, range and median from a stem-and-leaf plot
Find the mode, the range and the median of the scores in this stem-and-leaf plot.
StemLeaf
52 6 8
61 4 4 7 9
70 3 5
82

Key: \(5 \mid 2\) means \(52\)

Solution

The leaves are already in order, so read the plot from the top row to the bottom row.

\(\text{mode}\)\(=\)\(64 \ (6 \mid 4 \ 4)\)
\(\text{range}\)\(=\)\(82 - 52 = \mathbf{30}\)

Count the leaves: \(3 + 5 + 3 + 1 = 12\) scores. \(12\) is even, so average the \(6\)th and \(7\)th scores, \(64\) and \(67\).

\(\text{median}\)\(=\)\(\dfrac{64 + 67}{2}\)
\(\)\(=\)\(\mathbf{65.5}\)
median=64+672=65.5

Mode \(\mathbf{64}\), range \(\mathbf{30}\), median \(\mathbf{65.5}\).

Example 4 — A back-to-back plot
The plot shows the scores of two classes in a quiz. Find the median of each class. Which class did better?
Class AStemClass B
8 532
7 4 140 6 9
6 351 2 5 8
063 7

Key: \(5 \mid 4 \mid 1\) means \(45\) for Class A and \(41\) for Class B

Solution

Class A's leaves are on the left. Read them from the stem outwards, so the leaf nearest the stem is the smallest.

Class A, \(8\) scores: \(35, 38, 41, 44, 47, 53, 56, 60\).

\(\text{median A}\)\(=\)\(\dfrac{44 + 47}{2} = \mathbf{45.5}\)

Class B, \(10\) scores: \(32, 40, 46, 49, 51, 52, 55, 58, 63, 67\).

\(\text{median B}\)\(=\)\(\dfrac{51 + 52}{2} = \mathbf{51.5}\)
median A=45.5,median B=51.5

Class B has the higher median, so Class B did better overall.

Common pitfalls

The mode is the score, not the height. A tallest bar of height \(9\) above the score \(1\) makes the mode \(1\).
Read the key. A stem-and-leaf plot means nothing until you know what \(5 \mid 2\) stands for.
A leaf is one digit. A row with five leaves holds five scores, not one long number. A repeated leaf is a repeated score.
Left leaves run backwards. On a back-to-back plot, the left leaf nearest the stem is the smallest. Reading left to right reverses the order.

Frequently asked questions

How do you read a histogram?

Each bar's height is the frequency of the score under it. Add all the heights for the number of scores. The score under the tallest bar is the mode.

How do you find the mean from a histogram?

Multiply each score by its bar height, add the results, then divide by the total of the bar heights: \(\text{mean} = \dfrac{\sum fx}{\sum f}\).

How do you find the median of a stem-and-leaf plot?

Count the leaves to find how many scores there are. Find the middle position, \(\dfrac{n+1}{2}\). Count along the leaves, which are already in order, to that position. With an even number of scores, average the two middle ones.

How do you read a back-to-back stem-and-leaf plot?

The stem is in the middle. The right-hand leaves are read left to right as usual. The left-hand leaves are read from the stem outwards, so the leaf next to the stem is the smallest.

What is the difference between a histogram and a column graph?

A histogram shows numerical data on a number line, so its bars touch. A column graph shows categories, such as favourite sports, so its bars have gaps.