Lesson 3 of 8 · 14 min
Dot plots and stem-and-leaf plots
Construct and read dot plots and ordered stem-and-leaf plots, two displays that show the shape of a numerical data set while keeping every value.
What you will be able to do
- Construct a dot plot and read frequencies and values from it.
- Construct an ordered stem-and-leaf plot with a key, including split stems and decimal data.
- Decide when a dot plot or a stem-and-leaf plot suits a data set.
Categorical data only needs a count for each group. Numerical data comes with a number line built in, and good displays use it. The two simplest displays for numerical data keep every single value, so nothing is lost.
A Townsville soccer club recorded the number of goals its under-16 team scored in each of its 22 matches this season.
Each dot is one match. Which number of goals happened most often? Is there a match that stands apart from the rest?
Definition
Dot plot
A dot plot is a number line with one dot above it for each data value. Repeated values stack up in a column, so the height of each stack is the frequency of that value. Dot plots suit small data sets (up to about 50 values) with only a few different values, such as goals or numbers of pets.
Constructing a dot plot
Draw a number line
Cover the smallest to the largest value with an even scale. Include values that didn't occur (here, 5 and 6 goals).
Place one dot per data value
Put each dot directly above its value on the line.
Stack repeated values
Stack dots for equal values in a neat column, evenly spaced, so the stacks compare fairly.
Label it
Label the axis with the variable and its units, and give the plot a title.
Use the dot plot of goals per match. In how many matches did the team score exactly 2 goals?
A Year 11 class measured their resting heart rates in beats per minute (bpm). The values run from 58 to 93, and most of them occur only once, so a dot plot would be long and flat. A stem-and-leaf plot groups the values by their tens digit but still shows every value.
| Stem | Leaf |
|---|---|
| 5 | 8 |
| 6 | 1 3 4 6 7 8 |
| 7 | 0 1 2 2 4 5 7 8 |
| 8 | 0 2 5 8 |
| 9 | 3 |
Definition
Stem-and-leaf plot
A stem-and-leaf plot splits each value into a stem (the leading digits) and a leaf (the last digit). The stems go down the left in order, with none skipped. The leaves go to the right, ordered from smallest to largest and evenly spaced, so each row works like a column of a chart turned on its side. A key, such as = 61 bpm, tells the reader how to read the values.
Worked example
Construct an ordered stem-and-leaf plot
A phone company recorded how long, in minutes, 18 callers waited on hold:
12, 7, 25, 18, 9, 31, 14, 22, 16, 8, 19, 27, 11, 15, 23, 13, 10, 42
Construct an ordered stem-and-leaf plot of the waiting times.
Step 1: Choose the stems
The times run from 7 to 42 minutes, so the stems are the tens digits 0, 1, 2, 3 and 4. Write them in a column.
Every stem between the smallest and the largest is listed, even an empty one, so that gaps in the data show up.
Step 2: Place the leaves in the order they come
Go through the data and write each units digit beside its stem: 12 gives the leaf 2 on stem 1, 7 gives the leaf 7 on stem 0, and so on.
Stem Leaf 0 7 9 8 1 2 8 4 6 9 1 5 3 0 2 5 2 7 3 3 1 4 2 Step 3: Order the leaves
Rewrite each row from smallest to largest, evenly spaced:
Stem Leaf 0 7 8 9 1 0 1 2 3 4 5 6 8 9 2 2 3 5 7 3 1 4 2 Step 4: Add a key and check the count
Key: = 12 minutes. There are leaves, one for each caller.
Counting the leaves catches a value that was missed or written twice.
Try it yourself first, then check the working one step at a time.
Answer
Stems 0 to 4 with ordered leaves 0 | 7 8 9, 1 | 0 1 2 3 4 5 6 8 9, 2 | 2 3 5 7, 3 | 1, 4 | 2, and the key = 12 minutes.
Method
Choose stems from the smallest and largest values, with none skipped.
Write each leaf beside its stem, then reorder each row from smallest to largest.
Space the leaves evenly, add a key, and check the number of leaves equals .
Watch out for
Leaving out the key, so readers can't tell whether 1 | 2 means 12 or 1.2.
Leaving the leaves in their original order.
From the stem-and-leaf plot of heart rates, how many students had a resting heart rate of 80 bpm or more?
Split stems and decimal data
When most values crowd onto one or two stems, split each stem in two: one row for the leaves 0–4 and one for the leaves 5–9. These are the daily maximum temperatures (°C) in Ipswich over 16 days in spring: 21, 23, 24, 25, 26, 26, 27, 28, 29, 30, 31, 31, 32, 34, 35, 37.
| Stem | Leaf |
|---|---|
| 2 | 1 3 4 |
| 2 | 5 6 6 7 8 9 |
| 3 | 0 1 1 2 4 |
| 3 | 5 7 |
Key: = 21 °C. With only two stems, the plot would have been two long rows. Split, it shows the shape.
For decimal data, make the stem the whole number and the leaf the tenths digit. With the key = 3.4 kg, the row shows 3.4 kg, 3.7 kg and 3.8 kg.
A stem-and-leaf plot of the masses of newborn babies has the key = 3.4 kg. Which masses does the row show?
Common mistake
Stem-and-leaf slip-ups
- No key. Without one, could mean 61, 6.1 or 610.
- Leaves out of order or unevenly spaced. A row with more leaves must look longer, or the shape is lost.
- Skipping an empty stem. Leave it in: a gap can show that a value is an outlier.
- Writing the whole number as a leaf, such as 61 instead of 1.
Dot plot
Best for small data sets (up to about 50 values) with only a few different values, especially discrete data. Repeated values stack up, so peaks and gaps are easy to see.
Stem-and-leaf plot
Best for small to medium data sets (about 15 to 50 values) of two-digit numbers, or decimals with a sensible key. It shows the shape and keeps every value, so you can still find the median and quartiles from it.
Summary
A dot plot shows each value as a dot above a number line, with repeated values stacked.
A stem-and-leaf plot splits each value into a stem and a leaf. The leaves are ordered and evenly spaced, and there is always a key.
Both displays keep every data value, so you can read exact values and calculate statistics from them later.
Use dot plots for small data sets with few distinct values, and stem-and-leaf plots for two-digit values or decimals.
Split stems spread out data that is crowded onto a few stems.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.