Grouped tables, clustered bar graphs, and reading them
What this lesson covers
- Continuous numerical data can be organised in a table by grouping data into specific ranges of values.
- Paired categorical data can be visualised with a clustered bar graph; one variable is represented on the horizontal axis, the other variable is shown by coloured bars clustered side-by-side, and the colours are explained in a key.
- Interpreting a data visualisation includes describing its variables and their units, the context for the data, and the visualisation’s key features: its shape (e.g. the number of peaks) its middle group(s) (where the middle of the data lies) its spread (how spread the data is from the minimum (lowest) value to the maximum (highest) value).
What does "interpret this graph" even mean?
- It is the vaguest instruction in school maths.
- Most people answer "it goes up" and stop, because who knows?
- The curriculum quietly lists five things. So there is an answer.
| an interpretation must say | in other words |
|---|---|
| the variables and units | what was measured |
| the context | who, and when |
| shape, middle, spread | what the graph actually shows |
27 heights is a list, not a table
- Measure 27 people to the nearest cm and you get 27 numbers.
- Nearly all different, so a tally gives 27 rows of one.
- That shows nothing. Group them into ranges instead.
| height | tally |
|---|---|
| 141 cm | 1 |
| 143 cm | 1 |
| 144 cm | 1 |
| and 24 more rows | 1 each |
Grouped, it says something
- Four ranges, five centimetres each.
- Now you can see where most of the class sits.
- And the frequencies still add to 27, so nobody was lost.
| height range | how many |
|---|---|
| 135–139.9 cm | 3 |
| 140–144.9 cm | 11 |
| 145–149.9 cm | 9 |
| 150–154.9 cm | 4 |
The ranges must not overlap
- Write 140–145 and 145–150 and you have a problem.
- Where does 145 go? You will decide differently each time.
- So the ranges touch without overlapping: 140–144.9, then 145.
| ranges written as | the problem |
|---|---|
| 140–145, 145–150 | where does 145 go? |
| 140–144.9, 145–149.9 | nowhere to argue |
Answering questions from it
- How many are between 140 and 145 cm? Read it off: 11.
- How many are 145 or taller? Add two rows: 9 + 4 = 13.
- What you cannot do is say how many are exactly 142.

Two variables, one graph
- Paired categories go in a clustered bar graph.
- One variable along the bottom: the lunchtime activity.
- The other by colour, in bars side by side.

Without a key it is not a graph
- The colours have to be explained somewhere on the page.
- That explanation is called the key.
- A coloured graph with no key is not hard to read. It is unreadable.
| part of the graph | what it tells you |
|---|---|
| the horizontal axis | the first variable |
| the colours | the second variable |
| the key | which colour is which |
Now compare the pairs
- Sport: 7 boys against 5 girls, so more boys.
- Library: 2 boys against 6 girls, the other way round.
- That comparison is exactly what a clustered graph is for.
| at lunchtime | boys | girls | which is more |
|---|---|---|---|
| sport | 7 | 5 | boys |
| library | 2 | 6 | girls |
| talking | 3 | 4 | girls |
Try it: change the counts
Stacked answers a different question
- Stack the same two colours instead of clustering them.
- Now the total for each activity is easy to read.
- But comparing boys with girls got harder. Pick to suit the question.

The five things, in order
- Variables and units. Context. Shape. Middle. Spread.
- Say all five and you have interpreted the graph.
- And, just as useful, you know when to stop.
| say | ask yourself | for our heights |
|---|---|---|
| variables and units | what is measured? | height, in centimetres |
| context | who, and when? | our class, this term |
| shape | how many peaks? | one peak, at 140–144.9 |
| middle | where is the middle? | the 140–144.9 group |
| spread | lowest to highest? | 135 up to 154.9 cm |
Shape means how many peaks
- Look along the bars: up to a high point, then down.
- One high point, so we say it has one peak.
- The peak is the 140 to 144.9 group, with 11 students.

Middle and spread
- 27 students, so the middle one is the 14th.
- Counting up: 3, then 14, so the 14th is in the second group.
- And the spread runs from 135 cm up to 154.9 cm.
| group | how many | running total |
|---|---|---|
| 135–139.9 | 3 | 3 |
| 140–144.9 | 11 | 14 |
| 145–149.9 | 9 | 23 |
| 150–154.9 | 4 | 27 |
Try it: middle and spread
Common mistakes
- My groups are 140–145 and 145–150.145 fits in both groups. Use 140–144.9 and 145–149.9 so every height has only one place to go.
- From the grouped table, I can say how many students are exactly 142 cm.A grouped table only tells you how many are in each range, not how many have one exact height.
- Interpret the graph: it goes up and then down.Say all five things: the variables and units, the context, the shape, the middle and the spread.
- I coloured the boys and girls bars differently but left out the key.Add a key saying which colour is which, or nobody can read the graph.
Your turn
What is wrong with the groups 0–2, 2–4, 4–6?
From our table, how many students are under 145 cm?
Which graph shows totals best: clustered or stacked?
Name the five things an interpretation must include.
A clustered bar graph shows lunchtime activity, with boys and girls in two colours. What tells you which colour is boys?
Our table puts 11 students in the 140–144.9 cm group. Can you tell how many are exactly 142 cm?
A bar graph has five groups with 2, 8, 3, 7 and 1 students. How would you describe its shape?
Walk times for 21 students: 0–4.9 min: 6, 5–9.9 min: 4, 10–14.9 min: 3, 15–19.9 min: 8. Which group holds the middle student?
Show answer
1. 2 and 4 each belong to two groups. Use 0–1.9, 2–3.9, 4–5.9. 2. 3 + 11 = 14. 3. Stacked: the whole bar is the total. 4. Variables and units, context, shape, middle, spread. 5. The key. It explains the colours; the horizontal axis shows the other variable, the activity. 6. No: grouping hides the exact values. All you know is that 11 students are somewhere from 140 to 144.9 cm. 7. Two peaks. The bars rise to 8, drop to 3, rise again to 7, then fall to 1. 8. 10–14.9 min. The middle of 21 is the 11th; running totals 6, 10, 13 put the 11th in the third group.
What to take away
- Group continuous data into ranges that touch but never overlap.
- A clustered graph compares parts; a stacked one shows totals.
- And an interpretation is five specific things, not an opinion.
| job | the move |
|---|---|
| too many different values | group into equal ranges |
| paired categories | clustered bars, plus a key |
| reading a total | stack them instead |
| interpreting | variables, context, shape, middle, spread |
Challenge
A clustered bar graph shows lunchtime activity for a class of 18 boys and 9 girls. Sport: boys 9, girls 6. Library: boys 4, girls 2. Talking: boys 5, girls 1. Ben says: "The boys' sport bar is taller, so sport is more popular with boys than with girls." Is he right? How tall would the sport bar be on a stacked graph of the same data?
Hint
The two groups are different sizes. Instead of comparing 9 with 6, ask what fraction of the boys play sport, and what fraction of the girls.
Answer
No. Half of the boys play sport (9 out of 18), but two thirds of the girls do (6 out of 9), so sport is more popular with the girls. The stacked sport bar would be 15 tall.
Step by step
- Check the totals: boys 9 + 4 + 5 = 18 and girls 6 + 2 + 1 = 9, so there are twice as many boys.
- 9 out of 18 boys is one half.
- 6 out of 9 girls is two thirds, which is more than one half.
- The boys' bar is taller only because there are more boys, so Ben is wrong.
- A stacked bar puts the two counts on top of each other: 9 + 6 = 15.
Full working
- 9 + 4 + 5 = 18, 6 + 2 + 1 = 9group sizes
- 9 out of 18 = 12boys who play sport
- 6 out of 9 = 23girls who play sport
- 23 > 12a bigger share of the girls
- 9 + 6 = 15stacked sport bar
- Ben is wrong; the stacked sport bar is 15
Heights of 31 students are grouped: 120–129.9 cm has 4 students and 150–159.9 cm has 3. The numbers in the 130–139.9 cm and 140–149.9 cm groups have been smudged. You are told the middle student is in the 140–149.9 cm group. What is the largest number the 130–139.9 cm group could have? In that case, which group is the peak?
Hint
First find how many students are in the two smudged groups together. Then work out which student is the middle one, and count up from the shortest.
Answer
At most 11 students. Then the 140–149.9 cm group has 13, so it is the peak as well as holding the middle.
Step by step
- The two smudged groups share 31 − 4 − 3 = 24 students.
- With 31 students, the middle one is the 16th, since 15 are below it and 15 above.
- Counting up, the first two groups must hold 15 students or fewer, or the 16th would not reach the third group.
- So 4 + (130 group) ≤ 15, which means the 130 group is at most 11.
- With 11 there, the 140 group has 24 − 11 = 13, the biggest group, so it is the peak.
Full working
- 31 − 4 − 3 = 24students in the two smudged groups
- 15 + 1 + 15 = 31the middle is the 16th student
- 4 + (130 group) ≤ 15the 16th must be past the second group
- 130 group ≤ 11largest possible
- 24 − 11 = 13the 140 group, the tallest bar
- Largest is 11, and the 140–149.9 cm group is the peak
Two classes are measured to the nearest centimetre. Room 2 (Year 3): 125–129.9 cm 3, 130–134.9 cm 9, 135–139.9 cm 6, 140–144.9 cm 2. Room 12 (Year 6): 130–134.9 cm 1, 135–139.9 cm 2, 140–144.9 cm 4, 145–149.9 cm 10, 150–154.9 cm 4. The teacher puts them together in one grouped table. Describe the combined data by its shape, middle and spread, and explain why the shape looks the way it does.
Hint
Add the two classes group by group. How many students are there in all, and which one is the middle one? Look for more than one high point.
Answer
Combined: 3, 10, 8, 6, 10, 4 (41 students). Shape: two peaks, at 130–134.9 cm and 145–149.9 cm, with a dip between. Middle: the 21st student, the last one in the 135–139.9 cm group. Spread: from 125 cm to just under 155 cm. Two peaks appear because two groups of different ages have been mixed together.
Step by step
- Add each group: 3 + 0, 9 + 1, 6 + 2, 2 + 4, 0 + 10, 0 + 4 gives 3, 10, 8, 6, 10, 4.
- Total 41, so the middle student is the 21st (20 below and 20 above).
- Running totals 3, 13, 21: the 21st is the very last student in the 135–139.9 cm group.
- The bars rise to 10, drop to 6, then rise to 10 again: two peaks.
- Each class has its own peak, because the younger children are shorter. Mixing them gives two peaks, and the middle falls in the dip between them.
Full working
- 3, 10, 8, 6, 10, 4combined frequencies
- 3 + 10 + 8 + 6 + 10 + 4 = 41students in all
- 20 + 1 + 20 = 41the middle is the 21st
- 3, 13, 21, 27, 37, 41running totals
- peaks at 130–134.9 and 145–149.9two high points of 10
- Two peaks, middle in 135–139.9 cm, spread 125 to 154.9 cm, because two age groups are mixed

