Bar charts and pie charts
条形图与扇形图
How do bar charts and pie charts work?
Bars compare counts while a pie shows the share of each category; bars read better when there are many categories.
Sign in to read the whole lesson, with 8 exercises
Sign in / Sign upMastery goals
- Can construct and interpret bar charts and pie charts for categorical data
For the data we collect, after organising it we often need to choose a suitable chart according to the problem, to show the features and the information in the data directly and vividly, and so solve the problem.
In primary school we learned to draw bar charts and line charts to describe data, and we met pie charts. In the last section we used a pie chart to show how the whole class or the whole school likes each kind of after-school activity. Do you know how that pie chart was drawn?
In a pie chart the whole circle stands for the population and each sector stands for one part of it; the bigger the sector, the bigger the percentage that part makes up. Within one circle, how big a sector is depends only on its central angle. So we first turn each part's percentage into a central angle in degrees, then draw the sector with that angle.
For example, to draw the pie chart for the sample of size in the last section, first work out from the percentage of each kind of activity the central angle of its sector. For "literature" the central angle is . In the same way the central angles for "science", "sport", "art" and "crafts" are about , , and . Then draw the sectors in a circle with these angles, write the name and the percentage of each kind, and we get the pie chart.
Example 1
The body mass index (BMI) is a common measure of how heavy or slim a person is, . To learn the build of its staff, a company chose employees at random and worked out their BMI values (in kg/m²) from their check-ups:
```
21.4 24.6 28.8 19.0 20.2 19.5 23.1 22.7 19.4 23.7
20.5 28.8 20.9 24.3 27.7 22.3 25.6 20.9 19.3 20.7
19.4 18.2 31.1 23.0 19.3 22.2 18.1 23.2 23.0 24.8
19.7 22.3 17.2 25.4 26.2 16.3 23.0 20.6 20.4 16.9
31.6 23.6 21.7 26.6 20.3 20.2 22.8 25.3 19.0 18.1
```
Classes of BMI : is underweight, is normal, is overweight, and is obese.
Choose suitable charts to show the number and the percentage of employees in each class among the employees, and say what information the charts give.
Analysis: Make a table first, counting how many employees are in each class and what percentage that is. A bar chart shows the numbers in each class clearly; a pie chart lets us see at a glance what share of the whole each class is.
Solution: From the data, the BMI situation of the employees is counted in the table.
| Class | Tally | Employees | Percentage |
|---|---|---|---|
| Underweight | 6 | 12% | |
| Normal | 31 | 62% | |
| Overweight | 9 | 18% | |
| Obese | 4 | 8% | |
| Total | 50 | 100% |
Draw a bar chart and a pie chart showing the number and the percentage of employees in each class.
The two charts show that among the employees the normal class is the largest, with people, ; are overweight, ; are underweight, ; and the obese class is the smallest, people, .
From this we can infer the build of the staff. For example, most employees have a normal weight, but are obese, which needs attention.
Related points
All points in this topicCite this page: Bar charts and pie charts · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000928