2
Make a bar chart
Computing 2: Unit 2, pp. 24–39
GoalTurn a table of counts into a bar chart with a title and labels.
New words
title · the name of a chartlabel · a word that tells what a bar or a side of the chart showsbar · a block on a bar graph; its height shows the number
Explanation
We follow five steps to make a bar chart. First, count each group. Next, write the counts in a table. Then give the chart a title and labels. Draw one bar for each group. Last, check that every bar matches the table. A computer can draw the bars for us when we type in the labels and the numbers.
Worked examples
| How we come to school | Number of children |
|---|---|
| walk | 5 |
| bus | 4 |
| car | 6 |
| bike | 2 |
The bar chart of the same table. Car has the tallest bar, 6. Bike has the shortest bar, 2.
| A | B | |
|---|---|---|
| 1 | How we come | Number |
| 2 | walk | 5 |
| 3 | bus | 4 |
| 4 | car | 6 |
| 5 | bike | 2 |
Class activity
Snack chart: a class counted favourite snacks: apple 4, crackers 6, yoghurt 3, cheese 5. On squared paper, draw a bar chart. Give it a title, label each bar and colour one square for each child. Check each bar against the table. Then ask four people at home to vote for their favourite fruit and make a second chart. (If you have a computer or tablet: type the numbers into a spreadsheet and ask it to make a bar chart.)
Practice
1
Look at the chart about a trip to the park. How many children walked and how many came by bus altogether?
3 + 7 = 10 children.
2
A bar chart has no labels under the bars. Why is that a problem?
We cannot tell which bar is which group.
3
Which step comes first when you make a bar chart?
Count each group.
4
The table says cheese 5. How tall is the cheese bar?
| Snack | Number |
|---|---|
| apple | 4 |
| crackers | 6 |
| yoghurt | 3 |
| cheese | 5 |
5 units tall, the same as the number in the table.