Statistical charts and diagrams
How to draw and read bar charts (including dual and composite bar charts), pie charts, pictograms, stem-and-leaf diagrams and simple frequency diagrams, and how to choose a clear one for the data.
What the syllabus says
C9.4 (Core)
- Draw and interpret:
- (a) bar charts
- (b) pie charts
- (c) pictograms
- (d) stem-and-leaf diagrams
- (e) simple frequency distributions.
Notes and examples
- Includes composite (stacked) and dual (side-by-side) bar charts.
- Stem-and-leaf diagrams should have ordered data with a key.
E9.4 (Extended)
- Draw and interpret:
- (a) bar charts
- (b) pie charts
- (c) pictograms
- (d) stem-and-leaf diagrams
- (e) simple frequency distributions.
Notes and examples
- Includes composite (stacked) and dual (side-by-side) bar charts.
- Stem-and-leaf diagrams should have ordered data with a key.
Quoted from the Cambridge IGCSE Mathematics 0580 syllabus for 2025 to 2027.
Bar charts
A bar chart shows how often each category or value occurs. It suits qualitative data (favourite fruit, type of vehicle) and discrete data (number of goals, number of children).
When you draw a bar chart:
- give it a title and label both axes;
- make every bar the same width, with equal gaps between the bars;
- start the frequency axis at 0, with an even scale (every square worth the same amount);
- draw each bar up to its frequency exactly, using a ruler.
The bars can be vertical or horizontal. The gaps show that the categories are separate; the order of categories does not matter for qualitative data, but numerical values go in order.
When you read a bar chart, work out the scale first. If the gridlines go up in 2s, a bar ending halfway between 10 and 12 shows 11. Read across from the top of each bar to the axis.
Why the axis must start at 0: the height of a bar is meant to show the frequency. If the axis starts at 40, a bar of 50 looks twice as tall as a bar of 45, which is misleading (see 9.2).
Dual and composite bar charts
Two related sets of data can share one chart.
- A dual bar chart (side-by-side bar chart) draws two bars for each category, one for each set of data, next to each other. It makes comparing the two sets in each category easy. A key says which bar is which.
- A composite bar chart (stacked bar chart) puts the two parts on top of each other in a single bar. The top of the whole bar shows the total, so it is good for comparing totals and how each total splits up.
Reading a composite bar chart needs one extra step. The bottom section is read straight from the axis. The top section is not where its top edge is: it is the length of that section, so
In this subject the charts use shading as the key: the shaded bars or sections show one set of data and the unshaded ones the other.
Worked example 1
The composite bar chart shows, for each year group, the number of students who bring a packed lunch (shaded) and the number who buy a school lunch (unshaded).
(a) How many Year 9 students buy a school lunch? (b) Which year group has the most students? (c) What percentage of Year 7 students bring a packed lunch?
(a) The Year 9 bar has its join at 50 and its top at 90. Buying lunch: students.
(b) Compare the tops of the bars: 100, 90, 90 and 95. Year 7 has the most, 100 students.
(c) 40 of the 100 Year 7 students bring a packed lunch: .
Answer: (a) 40 (b) Year 7 (c)
Check yourself
The dual bar chart shows the mean number of hours of sunshine each day in two cities. City A is shaded and City B is unshaded. How many more hours of sunshine did City A have than City B in March?
Answer it in the portal, where your answer is checked as you type →
Pie charts
A pie chart shows how a whole is split into parts. Each sector's angle is in proportion to its frequency, and the angles add up to .
Drawing a pie chart.
- Find the total frequency.
- Work out the angle for each category: . It is often quicker to find the angle for one item first, , and multiply.
- Check that the angles add up to .
- Draw a circle and a radius. Measure each angle with a protractor, starting from the previous line, and label each sector (or use a key).
Reading a pie chart. Work backwards: . If you know the frequency for one sector, its angle tells you the number of degrees per item.
A pie chart shows proportions, not amounts. The biggest sector is the biggest share of that group, but two pie charts for groups of different sizes cannot be compared by sector size alone.
Worked example 2
60 people were asked their favourite season. The results were Spring 12, Summer 25, Autumn 15, Winter 8. Draw a pie chart to show this information.
Total , so each person is .
Spring: . Summer: . Autumn: . Winter: .
Check: .
Draw a radius, then measure the angles one after another with a protractor, and label each sector.
Answer: Angles , , ,
Check yourself
In a pie chart showing the lunch choices of 120 people, the sector for rice has an angle of . How many people chose rice?
Answer it in the portal, where your answer is checked as you type →
Pictograms
A pictogram uses a symbol to stand for a number of items. It needs a key, such as "one square represents 8 cakes", and every symbol must be the same size, lined up in columns so the rows can be compared by their length.
Parts of a symbol stand for parts of the number. With one square representing 8 cakes, half a square is 4 cakes and a quarter of a square is 2 cakes. So choose a key that divides easily into the numbers you need to show.
Reading: count the whole symbols, multiply by the key, then add the value of any part symbol.
Drawing: divide the frequency by the key. 20 cakes with one square for 8 cakes is squares: two whole squares and a half.
When the key is not given, find it from a row you know: if 3.5 symbols stand for 14 cars, one symbol stands for cars.
Worked example 3
The pictogram shows the number of books a library lent on three days. One square represents 6 books.
(a) How many books were lent on Monday? (b) On Thursday 21 books were lent. How should Thursday be shown?
(a) Monday has 2 whole symbols and a half symbol: books.
(b) , so draw 3 whole squares and half a square.
Answer: (a) 15 (b) 3 whole symbols and a half
Stem-and-leaf diagrams
A stem-and-leaf diagram groups numerical data while keeping every value. For two-digit numbers, the stem is the tens digit and the leaf is the units digit: 47 is written as stem 4, leaf 7.
To draw one:
- Write the stems in order down the left, with a vertical line after them. Include any stem with no leaves.
- Go through the data and write each leaf in the row of its stem.
- Redraw it with the leaves in each row in order, smallest nearest the stem. Cambridge expects an ordered diagram.
- Add a key, such as "2 | 3 means 23 minutes". Without it, 2 | 3 could mean 23, 2.3 or 230.
Keep the leaves evenly spaced and in neat columns: then the diagram doubles as a bar chart turned on its side, showing the shape of the data.
Because every value is still there, and in order, you can read off averages directly:
- the mode is the leaf that repeats most in one row;
- the median is found by counting along the leaves to the middle position, ;
- the range is the last value minus the first.
A back-to-back stem-and-leaf diagram shares one stem between two sets of data, with leaves going out to the left for one set and to the right for the other. The left-hand leaves are read from the stem outwards, so in "7 | 3 |" the value is 37.
Worked example 4
The numbers of minutes 13 students spent on homework one evening are:
(a) Draw an ordered stem-and-leaf diagram. (b) Find the median and the range.
(a) The values run from 18 to 42, so the stems are 1, 2, 3 and 4.
Write each leaf beside its stem, then order the leaves in each row and add a key.
Key: 2 | 3 means 23 minutes Stem Leaf 1 8 9 2 2 3 6 7 9 3 1 5 5 5 4 0 2 (b) There are 13 values, so the median is the th. Counting along the leaves: 18, 19, 22, 23, 26, 27, 29. Median minutes.
Range minutes.
Answer: (b) Median 29 minutes, range 24 minutes
Check yourself
The stem-and-leaf diagram shows the ages of 12 runners. Find the median age.
| Stem | Leaf |
|---|---|
| 3 | 2 5 8 |
| 4 | 0 1 1 6 9 |
| 5 | 3 4 7 |
| 6 | 2 |
Answer it in the portal, where your answer is checked as you type →
Frequency diagrams for simple frequency distributions
A frequency distribution is a frequency table: the values or classes and how often each occurs. Drawing it as a diagram shows its shape at a glance: where the data is concentrated and whether it is spread out evenly.
- For discrete data in a frequency table, draw a bar chart with the values in order along the horizontal axis.
- For continuous data grouped into classes of equal width, draw a frequency diagram: a bar for each class, with no gaps between the bars, because the classes join on to each other ( ends exactly where begins). The horizontal axis is a continuous scale, marked with the class boundaries.
In both, the vertical axis is frequency, starting at 0. Read the diagram the other way to recover the table: each bar's height is its frequency.
Once drawn, describe the shape: "most of the times are between 10 and 15 minutes, with few very short or very long times".
Key points
Bar charts: equal widths, equal gaps, frequency axis from 0, labelled axes and a title.
Dual bar charts compare two sets side by side; composite bar charts stack them, and the top section is top reading minus join reading.
Pie chart angle ; the angles add up to .
Reading a pie chart: frequency .
Pictograms need a key; part symbols stand for parts of the key value.
Stem-and-leaf diagrams are ordered and always have a key; they keep every value, so averages can be read off.
Equal-width classes of continuous data are drawn with no gaps between the bars.
Where marks are lost
Misreading the scale on the frequency axis.
Reading the top section of a composite bar chart from the axis instead of subtracting the join.
Pie chart angles that do not add up to because of a slip: always check the total.
Drawing a pie chart sector to the wrong side of the line, or not labelling the sectors.
Forgetting the key on a stem-and-leaf diagram, or leaving the leaves unordered.
Writing a leaf with two digits, such as 3 | 12 for 312 when the key is tens and units.
Counting a half symbol in a pictogram as a whole one.
Leaving gaps between bars for continuous data, or unequal gaps between bars for categories.
Related IGCSE Mathematics 0580 lessons
An original lesson written to the Cambridge IGCSE Mathematics 0580 syllabus (2025 to 2027). The worked examples and questions are our own, not Cambridge questions. Back to every IGCSE Mathematics 0580 lesson.