AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Kinds of data and charts

Week 4 · Unit 2: Be a data storyteller · 3 lessons
2

Choosing a chart

Computing 5: Unit 2, pp. 20–33
GoalChoose a bar chart, a pie chart or a line chart to suit the data and the question.
New words
bar chart · a chart with bars of different heights; it compares valuespie chart · a circle cut into slices; it shows how a whole is sharedline chart · a chart with points joined by a line; it shows how something changes over timetrend · the way the data goes up, goes down or stays the same
Explanation

A chart can show data more clearly than a list of numbers. Choose the chart to fit the question. A bar or column chart is best for comparing values, for example goals scored by four teams. A pie chart shows how a whole is shared, so the slices must add up to the whole. It is good for percentages. A line chart is best when readings are taken at regular times, such as every hour. The line shows the trend, which is easier to see than in a table. If we want to sort the values or add them, a table is best.

QuestionBest choice
Which is biggest? Which is smallest?bar or column chart
What share does each part have?pie chart
How did it change over time?line chart
Sort or add the valuestable
Worked examples
051015HawksLionsBearsWolvesgoals
Four teams scored goals: Hawks 8, Lions 11, Bears 5 and Wolves 9. The question is ‘Which team scored most?’. A bar chart lets us compare the heights at a glance. The tallest bar, Lions, is the answer.
05101520258:0010:0012:0014:0016:0018:00°C
A logger records the temperature every 2 hours. The trend is that the temperature rises until 14:00 (23 degrees) and then falls. A line chart shows this rise and fall.
50%25%15%10%applebananagrapeorange
A fruit salad has 20 pieces: 10 apple, 5 banana, 3 grape and 2 orange. The slices of a pie chart show the shares: 50%, 25%, 15% and 10%. They add up to 100%, the whole salad.
Class activity

Paper pie chart (8 players or fewer). Ask 8 people: ‘Which season do you like best: summer, winter, spring or autumn?’ Cut out a paper circle and fold it in half three times to make 8 equal slices. Colour one slice for each person, using one colour for each season. Now stack the same answers as counters or squares to make a bar chart. Which chart makes it easier to find the favourite season? Which makes it easier to see the share? If you have a computer or tablet, type the counts in a spreadsheet and make both charts.

Practice
1
Which chart would you choose? (a) compare the heights of six children, (b) show how the temperature changed every hour of one day, (c) show what share of a class likes each fruit.
2
The chart shows the water in a tank. How much does it rise each hour? If the trend goes on, how much water will there be at 13:00?
0204060809:0010:0011:0012:00litres
3
Why is a pie chart a poor choice for showing the temperature at four times of day?
4
A teacher records the goals scored by four players. What kind of data is this, and which chart would you choose? Say how tall each bar should be.
PlayerGoals
Ali3
Sara5
Mia2
Leo4