- Foundation
- About 14 min
- 5 practice questions
Grouped and stacked bar graphs
Read bar graphs that show two or more series: bars side by side (grouped) or segments piled in one bar (stacked), and answer share, total and growth questions from them.
If something looks wrong, please tell us.
Many bar graphs show more than one series at once. A school may show boys and girls for each class; a factory may show three products for each year. These graphs look busy, but they hold the same numbers as a table. The skill is to read each bar or segment correctly and write the values into a small table before calculating.
Two common layouts
- Grouped (clustered) bars: for each category there are two or more bars side by side, one per series. Each bar is read from the zero line. A legend tells you which colour is which series.
- Stacked bars: each category has one bar, split into coloured segments. The total height is the total for that category. The value of a segment is its own length, which is the difference between its top and its bottom, not the level of its top edge.
A common trap with stacked bars: if the boundary lines of a middle segment are at 40 and 75 on the scale, the segment's value is 75 - 40 = 35, not 75.
A grouped example
The table gives the number of students (in tens) in four classes. It is what you would get after reading a grouped bar graph with boys and girls bars.
| Class | A | B | C | D |
|---|---|---|---|---|
| Boys | 40 | 50 | 30 | 60 |
| Girls | 30 | 50 | 45 | 55 |
| Total | 70 | 100 | 75 | 115 |
Worked example 1: a share within one class
What percentage of Class C are girls? Total of Class C = 30 + 45 = 75. Girls = 45. Share = 45 ÷ 75 × 100 = 60%.
Worked example 2: comparing two groups of bars
Girls in the classes where boys outnumber girls, as a percentage of the boys in those classes. Boys outnumber girls in A (40 > 30) and D (60 > 55). Boys in A and D = 40 + 60 = 100. Girls in A and D = 30 + 55 = 85. Girls as a percentage of boys = 85 ÷ 100 × 100 = 85%.
A stacked example
| Year | Product X | Product Y | Product Z | Total |
|---|---|---|---|---|
| Year 1 | 20 | 30 | 50 | 100 |
| Year 2 | 30 | 40 | 50 | 120 |
| Year 3 | 50 | 40 | 60 | 150 |
Worked example 3: shares and growth from stacked bars
Share of Product Z in the Year 3 total = 60 ÷ 150 × 100 = 40%. Growth in Product X from Year 1 to Year 3 = (50 - 20) ÷ 20 × 100 = 150%. Growth in the total from Year 1 to Year 3 = (150 - 100) ÷ 100 × 100 = 50%. Product X grew far faster than the total, so its share rose from 20% to 33 1/3% of the output.
Habits that prevent mistakes
- Always find the legend and the scale before reading a bar.
- In a stacked bar, subtract the lower boundary from the upper one.
- Write the values into a table, add a total row or column, and check that the parts add up to the total.
- Decide the base of every percentage: 'X as a percentage of Y' divides by Y.
In a stacked bar, a segment's value is the gap between its two edges, not the height of its top edge.
Key takeaways
- Grouped bars are read from zero; stacked segments are read as differences.
- Turn the graph into a table first, then calculate.
- Check the totals, name the base of each percentage, and compare like with like.
Check your understanding
-
1. In a stacked bar, the lower edge of the middle segment is at 30 and its upper edge is at 75 on the scale. What is the value of that segment?
- 30
- 75
- 45
- 105
Show answer
Answer: C. The value of a stacked segment is the difference between its edges: 75 - 30 = 45.
-
2. Using the grouped table in this lesson, what is the total number of students (in tens) in Classes B and C together?
- 175
- 145
- 165
- 190
Show answer
Answer: A. Class B total = 50 + 50 = 100 and Class C total = 30 + 45 = 75. Together 100 + 75 = 175.
-
3. Using the stacked table in this lesson, Product Y is what percentage of the Year 2 total?
- 16 2/3%
- 37 1/2%
- 30 1/3%
- 33 1/3%
Show answer
Answer: D. Product Y in Year 2 = 40 and the Year 2 total = 120. 40 ÷ 120 × 100 = 33 1/3%.
-
4. By what percentage did Product X increase from Year 2 to Year 3 in the stacked table?
- 33 1/3%
- 66 2/3%
- 60 2/3%
- 62 1/2%
Show answer
Answer: B. Increase = 50 - 30 = 20. Percentage = 20 ÷ 30 × 100 = 66 2/3%. The base is the earlier year, Year 2.
-
5. A grouped graph shows exports of 60 and imports of 45 (in crores of rupees) for one year. Imports are less than exports by what percentage of the exports?
- 15%
- 25%
- 20%
- 33 1/3%
Show answer
Answer: B. Difference = 60 - 45 = 15. As a share of exports (the base) 15 ÷ 60 × 100 = 25%.
Sign in to keep track of the lessons you finish.