A pie with twelve slices
The head teacher gets a report. On page one is a pie with twelve thin slices in twelve colours.
She cannot tell which slice is biggest. She puts the report down.
The numbers were right. The picture was wrong. A good picture fits the data, the reader and the job.
Key words
| Word | What it means | Example |
|---|---|---|
| Bar chart | Bars of different heights side by side, to compare amounts. | Students in each year group |
| Line graph | A line that goes up and down over time. | Temperature each hour |
| Pie chart | A circle cut into slices, each a part of the whole. | How a class travels to school |
| Scatter graph | Dots on a grid, each one thing with two measures. | Hours of sleep against test mark |
| Audience | The people who read it. | A head teacher |
| Brief | What the client asks for: the job, the reader and the limits. | One page for parents |
| Dashboard | One screen with many pictures of live data. | Attendance today and this term |
| Infographic | A picture with a few big numbers and drawings, for the public. | A poster of school results |
| Average | Add the numbers, then divide by how many there are. | 4, 6, 5 gives 5 |
| Percentage | A part counted out of 100. | 50 out of 100 is 50 percent |
The cells students fill in are left blank in this preview.
Four pictures and what they are for
| Chart | What it looks like | Good for | Not good for |
|---|---|---|---|
| Bar chart | Tall and short blocks side by side | Comparing amounts in groups | Showing a change over many months |
| Line graph | One line going up and down over time | Seeing how something goes up or down over time | Groups with no order, like fruit types |
| Pie chart | A circle cut into slices | A few parts of one whole | Many small parts, or exact numbers |
| Scatter graph | Dots spread over a grid | Seeing if two things go together | Readers who do not know graphs |
The cells students fill in are left blank in this preview.
Quick check: pick the picture
Have a go
Quick check: pick the picture
4 questionsWorked example: percentages for a pie
| Lunch | Students | Times 5 | Percentage |
|---|---|---|---|
| Pizza | 10 | 10 times 5 = 50 | 50 out of 100: 50 percent |
| Pasta | 6 | 6 times 5 = 30 | 30 out of 100: 30 percent |
| Salad | 4 | 4 times 5 = 20 | 20 out of 100: 20 percent |
| Total | 20 | 20 times 5 = 100 | 100 percent |
The cells students fill in are left blank in this preview.
Worked example: an average
| Step | What you do | Answer |
|---|---|---|
| 1 | Add the marks: 4 + 6 + 5 (the sign + means plus) | 15 |
| 2 | Count the marks | 3 |
| 3 | Divide the total by the count: 15 divided by 3 | 5 |
The cells students fill in are left blank in this preview.
How the table works
There are 20 students. You want a number out of 100. So multiply by 5, because 20 times 5 is 100.
Ten students become 50. That is 50 percent. The slices must add up to 100 percent. If they do not, check your counting before you draw.
Try it: percentage and average
students = {"Pizza": 10, "Pasta": 6, "Salad": 4}
total = 20
for lunch in students:
share = round(students[lunch] * 100 / total)
print(lunch, share, "percent")
marks = [4, 6, 5]
# sum() adds up every number in the list.
print("Average:", sum(marks) / len(marks))
# Change Pizza to 15 and total to 25. Run it again.
Make a free account to save your work and track your progress.
Who reads it? What did they ask for?
The best picture depends on the audience. A scientist can read a scatter graph. A parent at a school event may not.
It also depends on the brief. If the brief says "one page, no numbers", an infographic fits. If it says "show every mark", use a table.
A picture can lie
Warning
Many people think a chart is honest if its numbers are right. It is honest only when the picture is fair too. A bar chart that starts at 90, not 0, makes a small change look huge. That is misleading: it makes you believe something false. A pie with 12 slices, or too many colours, hides the answer.
The other formats: good and bad
| Format | Benefit | Drawback |
|---|---|---|
| Table | Exact values. Nothing is hidden. | It is slow to look through a long table for a pattern. |
| Report | Full reasons and detail. | Slow to read. The numbers are old once it is printed. |
| Dashboard | Live. Many measures in one place. | Costs time to build. Too many pictures confuse. |
| Infographic | Easy for the public to read and nice to look at. | Little detail. It can hide part of the story. |
The cells students fill in are left blank in this preview.
Match the question to the format
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Your turn: choose by rules
Write four small functions. One finds a percentage. One finds an average. One chooses a chart for a type of question. One says if a pie has too many slices. Press Run Tests to check your work.
def percent(part, total):
# Give back the part as a whole number out of 100.
# Example: 10 out of 20 is 50. Round to the nearest whole number.
return 0
def average(numbers):
# Add the numbers up, then divide by how many there are.
# An empty list gives 0.
return None
def choose_chart(question):
# question is one of these texts:
# "change over time" -> "line graph"
# "compare amounts" -> "bar chart"
# "parts of a whole" -> "pie chart"
# "two things together" -> "scatter graph"
# "exact values" -> "table"
# Anything else gives "table".
return ""
def too_many_slices(slices):
# A pie chart is hard to read with more than 5 slices.
# Give back True or False.
return None
Make a free account to save your work, or press Start lab to work through the whole lesson.
Design a dashboard in words
The school office wants a dashboard for the front desk. It must show attendance today, attendance this term, late students and students who are away. For each one, write which format you would use and why. Name the audience and say what the brief should include. Write at least six sentences.
A teacher marks this in a college. Nothing you write here is kept: it goes when you leave the page.
Make a free account to save your work, or press Start lab to work through the whole lesson.
Watch: picking the picture
Press Play on the short film below. It shows what a good picture must fit and what each chart is good for. Then it works out a slice and picks a picture for each brief. Listen for the two myths.
Film: Choosing the right chart
Choosing the right chart
Every scene, as text
- A good picture fits the data, the reader and the job. The numbers were right. The picture was wrong. The data. The reader (audience: the people who read it). The job (from: the brief, what the client asks for).
- Four pictures and what they are for. Bar chart (good for: comparing amounts in groups). Line graph (good for: a change over time). Pie chart (good for: a few parts of one whole). Scatter graph (good for: seeing if two things go together).
- Worked example: percentages for a pie. Pizza: 10 of 20 students. 10 × 5 = 50 (times 5: because 20 × 5 = 100). 50 percent (percentage: a part counted out of 100).
- Myth (false): a pie chart fits any data. That is not true. Pie chart (good for: a few parts of one whole; not for: many small parts). 15 small groups (so: the slices become too thin). Bar chart (use instead: it compares amounts in groups).
- Myth (false): a chart is honest if its numbers are right. That is not true. Bar chart (starts at: 90, not 0; so: a small change looks huge). Misleading (means: it makes you believe something false).
- Who reads it? What did they ask for? Scatter graph (can read it: a scientist; not for: readers who do not know graphs). "One page, no numbers" (best: an infographic). "Show every mark" (best: a table, for exact values; drawback: slow to look through if long).
Final check
Have a go
Final check
5 questionsRemember
Important
Choose the format for the data, the audience and the brief. Bar compares, line shows change, pie shows parts, scatter shows links, table gives exact values.