Charts and Objects in Spreadsheets
Senior 3 · ICT
Charts and Objects in Spreadsheets
Lesson 1 of 5
40 min
Rwanda's 2022 census counted the people in each province. Here are the results, as published by the National Institute of Statistics of Rwanda (NISR):
| Province | Population (2022) |
|---|---|
| City of Kigali | 1,745,555 |
| Southern | 3,002,699 |
| Western | 2,896,484 |
| Northern | 2,038,511 |
| Eastern | 3,563,145 |
| Rwanda | 13,246,394 |
Which province is largest? Which two are almost the same? You can work it out from the digits, but slowly. A chart answers in a second, because the eye compares lengths, heights and angles much faster than it compares seven-digit numbers. In S2 you built worksheets and formulas; this unit turns their numbers into pictures and prepares them for printing.
Definition
Chart (graph): a picture of data in which numbers are shown as the length of bars, the size of slices, or the position of points and lines.
Category: one of the things being compared, such as a province or a month. Categories usually run along the horizontal axis.
Data series: a set of related values plotted together, usually one row or column of the worksheet, shown in one colour. A chart can have one series or several.
Data point: one value of a series, such as the Eastern Province's population, drawn as one bar, slice or dot.
| Type | What it shows best | Example | Watch out |
|---|---|---|---|
| Column (vertical bars) | Comparing amounts across a few categories | Population of each province | The value axis should start at 0 |
| Bar (horizontal bars) | The same as a column chart, when category names are long or there are many categories | Number of pupils in 12 clubs | Sort the bars, largest first, for easy reading |
| Pie | Parts of ONE whole, as shares of 100% | How a club spends its budget | One series only; few slices (about 6 at most); all values positive |
| Line | Change over time, or over any ordered steps | Monthly rainfall over a year | Do not join categories that have no order, such as provinces |
| Scatter (XY) | The relationship between two sets of numbers | Hours of study and test mark for 30 pupils | Both axes are numbers; each dot is one pair of values |
Thumbnails drawn by Ganzaa.
The census table can be drawn in two honest ways, each answering a different question.
Charts drawn by Ganzaa from NISR census data. The pie answers “what share of all Rwandans lives in each province?”; the column chart answers “how many people live in each province?”.
Worked example 1: the percentages in the pie
Each slice is the province's share of the national total. For the Eastern Province:
Its slice therefore takes of the circle. Kigali: , about . Excel does this arithmetic for you, but knowing it lets you check that a pie chart is honest: the five shares must add up to 100%.
Worked example 2: choosing the chart
| Data | Best chart | Why |
|---|---|---|
| A school canteen's sales each month, January to December | Line | Change over time; the months have an order |
| How a club spent its 50,000 Rwf budget: food, transport, printing, prizes | Pie | Parts of one whole, four slices |
| Number of S3 pupils who chose each of 11 subjects as their favourite | Bar | Many categories with long names; easy to sort |
| Each pupil's height and arm span, for 40 pupils | Scatter | Two numeric measurements per pupil; looking for a relationship |
| Marks of boys and of girls in four tests | Column (clustered) | Compare two series across a few categories |
A pie is wrong for the favourite subjects: 11 thin slices are hard to compare, and a pupil may have more than one favourite, so the parts would not make one whole.
Warning
Charts that mislead
Good chart makers decide on paper first. For each data set, sketch the chart by hand in your exercise book, with a title, axis titles and units.
Next to each sketch, write which of the five chart types you chose and one sentence of reasons. Keep the numbers: in the next lesson you will type them into Excel and let it draw the charts.
Practice
Sources and credits
This lesson adapts CC BY-SA material and is shared under CC BY-SA 4.0.