A list of numbers or one picture?
The school office checks how many students came in each day. One way is a long list of numbers. Another way is five bars on a screen, one for each day.
Which one tells you in one second that Friday is the worst day? The bars. This lesson is about the different ways to show numbers so a person understands them fast.
Key words
| Word | What it means | Example |
|---|---|---|
| Data visualisation | Showing data as a picture, so people see it fast. | A bar chart |
| Graph | A picture of lines or points that shows how one number changes with another. | Temperature through the day |
| Chart | A picture of amounts or parts, often as bars or slices. | A pie chart of lunch choices |
| Table | Rows and columns of exact facts. | A bus timetable |
| Report | A document that explains data in words, tables and pictures. | A monthly sales report |
| Dashboard | One live screen of several small pictures. | A screen in the school office |
| Infographic | A poster that mixes pictures, big numbers and a few words. | A poster about healthy eating |
| Axis | One of the two labelled lines of a graph. | Days along the bottom |
The cells students fill in are left blank in this preview.
Six ways to show data
| Format | What it is | Use it when |
|---|---|---|
| Graph | Two axes. A line or dots show a change. | You want to see a change over time. |
| Chart | Bars, slices or blocks. | You want to compare amounts or parts. |
| Table | Rows and columns of exact numbers. | People need the exact value. |
| Report | Words, tables and pictures in one document. | You must explain and give the reasons. |
| Dashboard | Many small pictures on one live screen. | People check the numbers every day. |
| Infographic | A poster with pictures and big numbers. | You want to tell the public a simple story. |
The cells students fill in are left blank in this preview.
Match the job to the format
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Graph or chart?
People often confuse these two words. Here is a simple rule.
A graph has two axes and shows how one thing changes with another. A line going up and down over a week is a graph.
A chart shows amounts or parts. A set of bars, or a round pie cut into slices, is a chart. Many people say "graph" for both. Ask your teacher which word your exam uses.
How to pick a format
flowchart TD
start([What do you need to do?]) --> exact{Do people need exact numbers?}
exact -->|yes| tTable[Table]
exact -->|no| change{Does it show change over time?}
change -->|yes| tGraph[Graph]
change -->|no| many{Many measures, checked every day?}
many -->|yes| tDash[Dashboard]
many -->|no| explain{Must you explain with words?}
explain -->|yes| tReport[Report]
explain -->|no| tChart[Chart or infographic]
Try it: a chart made of hashes
days = {"Mon": 28, "Tue": 30, "Wed": 27, "Thu": 25, "Fri": 18}
for day in days:
bar = ""
for count in range(days[day] // 2):
bar = bar + "#"
print(day, bar, days[day])
# The // sign divides and drops the decimals: 28 // 2 is 14.
# Each # is 2 students. Change a number and press Run again.
Make a free account to save your work and track your progress.
Always add labels
Tip
Many people think a chart speaks for itself. Without a title and labels, nobody can read it. Say what the bars are, what the numbers mean and what the unit is: students, pounds or minutes.
Your turn: a text bar chart
Build a bar chart out of text. Each row has a label and one # for each unit. The first function makes one row. The second joins all rows. The third finds the tallest bar. Press Run Tests to check your work.
def bar_line(label, value):
# Give back one row of a text bar chart.
# The label, then one space, then one # for each unit.
# Example: bar_line("Mon", 4) gives "Mon ####"
# Hint: start with the label and a space, then add one "#" at a time in a loop.
return ""
def chart(data):
# data is a dictionary like {"Mon": 4, "Tue": 2}
# Give back all the rows with a new line ("\n") between them, and none at the end.
# Use bar_line for each row, in the order of the dictionary.
return ""
def tallest(data):
# Give back the label with the biggest value.
return ""
Make a free account to save your work, or press Start lab to work through the whole lesson.
Dashboard or report?
A dashboard is for a quick look. A manager sees today's numbers in five seconds. The numbers change by themselves.
A report is for a slow read. Somebody writes it once, and it says what happened and why. A dashboard shows the problem. A report explains it.
Key words crossword
Have a go
Loading…
Your answers are marked here and are not kept. A college account keeps every student’s marks.
Final check
Have a go
Final check
5 questionsRemember
Important
Six formats: graph, chart, table, report, dashboard, infographic. Ask three questions. Who reads it? What must they see? How fast?