MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Bar charts and pie charts — choosing and reading

L4.2 — Data DisplaysLecture 1 of 3~2640 words

One survey, two pictures

A teacher asked 60 students to name their favourite sport. Twenty chose football, 15 chose basketball, 10 chose swimming and 15 chose badminton. The survey is invented for this lecture.

A table can hold these four numbers. But most people understand a picture faster than a list of numbers. Here are two pictures of the same survey.

0510152025FootballBasketballSwimmingBadmintonNumber of studentsFavourite sport
A bar chart of the survey. Each bar's height, read on the scale at the left, is the number of students who chose that sport.
Football120° · 20Basketball90° · 15Swimming60° · 10Badminton90° · 15
A pie chart of the same survey. The whole circle stands for all 60 students. Each label gives the sector's angle and the number of students.

Now ask each picture two questions. First: how many more students chose football than swimming? Second: did more than a quarter of the students choose football?

Stop and think

Which picture answers the first question at a glance? Which one answers the second?

Show the answer

The bar chart answers the first question. Read the football bar (20) and the swimming bar (10) on the scale: 10 more students. The pie chart has no scale, so it cannot give you the numbers by looking.

The pie chart answers the second question. A quarter of a circle is a right angle, and the football sector is clearly bigger than a right angle. The bar chart can answer it too, but only after you add up the bars and work out that a quarter of 60 is 15.

Most students learn how to draw both charts. Far fewer learn which question each chart answers. That is the real skill in this lecture. A bar chart compares amounts. A pie chart shows shares of one whole. Once you see that difference, choosing a chart is no longer a guess.

A bar chart compares amounts

A bar chart gives each category one bar. The height of the bar is the frequency, which means the number of times that category appears in the data. You read a bar by going across from its top to the scale on the vertical axis.

A good bar chart has these features.

Each feature has a reason. Your eye judges a bar by its size. If one bar were twice as wide as the others, it would look bigger, even with the same height. When every width is equal, only the height changes. So the eye compares only the thing that carries the information.

The gaps show that the categories are separate. Football and swimming are not next to each other on any number line. (Later you will meet histograms, where the bars touch because the data lies along a number line.)

The scale must start at zero because the eye compares heights as ratios. A bar twice as tall should mean twice as many. That is only true when every bar starts from zero. Trap 3 shows what happens when it does not.

Before you read any bar, check what one step of the scale is worth. In the survey chart, each line is 5 students. In the rainfall chart later in this lecture, the short lines are 10 mm apart.

A pie chart shows shares of one whole

A pie chart is a circle cut into sectors, slices that run from the centre to the edge. The whole circle stands for everything in the data: here, all 60 students. Each sector shows one category's share of that whole.

So how big should each sector be? Here is the key idea. A full turn is 360°. All 60 students must share these 360 degrees equally. So each student gets

Football has 20 students, so its sector is . Every other sector works the same way.

SportStudentsAngle (6° per student)
Football20120°
Basketball1590°
Swimming1060°
Badminton1590°
Total60360°

Always check that the angles add up to 360°. Here, .

The angle of a sector

angle = frequency × (360° ÷ total) =

The fraction is the category's share of the whole. The angle is that same share of a full turn.

The two forms are the same calculation in a different order. The first form, "degrees per item", is quickest when 360 divides neatly by the total. The second form shows the meaning. Football has of the students, so it gets of the circle.

Why do we use the angle, and not the area or the curved edge? A sector with twice the angle also has twice the area and twice the curved edge. So all three show the same share. The angle is simply the one you can measure with a protractor.

Stop and think

In the survey's pie chart, basketball has a sector of 90°. How many students does that sector stand for?

Show the answer

Not 90. An angle is not a count of students. Each student is 6°, so 90° stands for students. You can also see it as a share: 90° is a quarter of the circle, and a quarter of 60 is 15.

Change one number, and watch both charts

Here is an experiment. Suppose more students had chosen swimming. What would happen to the football bar? What would happen to the football sector? Make a guess for each, then try it below.

Explore — change one sport, watch both charts

Change the number of students who chose swimming. Football, basketball and badminton stay at 20, 15 and 15. Watch the football bar, then watch the football sector.


    The table shows what happens to the angles when the number of swimmers changes. Football, basketball and badminton stay at 20, 15 and 15 students. The total is 50 plus the number of swimmers. All the angles are in degrees. "Each" is the number of degrees per student. "Others" is the angle for basketball and for badminton, which are always equal.

    SwimmersEachFootballSwimmingOthers
    07.21440108
    1061206090
    304.59013567.5
    4048016060

    In every row the football bar is the same height, 20. But the football sector shrinks from 144° to 80°.

    The football bar never moves. Twenty students is 20 students, however many people chose swimming. But the football sector changes. With 30 swimmers, the total is 80, and football's sector shrinks to 90°. Football did not lose a single fan. It lost share, because the whole got bigger.

    That is it. That is the whole idea. A bar shows how many. A sector shows what fraction of the whole. When one category changes, a bar chart changes one bar. A pie chart changes every sector, because every share depends on the total.

    Drawing a pie chart, step by step

    1. Find the total of all the frequencies.
    2. Work out each angle. Check that the angles add up to 360°.
    3. Draw a circle. Draw one radius, from the centre straight up to 12 o'clock.
    4. Put the protractor's centre on the centre of the circle, with its zero line on that radius. Measure the first angle clockwise and draw the second radius.
    5. Measure the next angle from the radius you have just drawn, not from 12 o'clock.
    6. Label every sector with its category. Add the angle or the frequency if the reader needs it.

    The last sector is simply what is left. Measure it anyway. If it does not match your calculated angle, one of the earlier angles was drawn wrongly.

    Reading a pie chart: from angle back to amount

    Reading a pie chart runs the calculation backwards. The sector's angle, as a fraction of 360°, is the category's share. Multiply that share by the total.

    Notice what this formula needs: the total. A pie chart on its own shows shares. It cannot tell you how many unless someone also tells you the total. This is why a careful pie chart always states the total, for example "60 students".

    Choosing the chart

    To choose between the two charts, ask two questions.

    A bar chart works in almost every case. A pie chart works well only when the parts make one whole, the question is about shares, and there are only a few categories. With many sectors, or sectors of similar size, a pie chart becomes hard to read. Sort the cases below.

    Sort — bar chart or pie chart?

    For each set of data, choose the chart that answers the question better. Read the reason after each choice.

    Eight sets of data, each with the better chart and the reason.

    • The goals scored by each of six players, to find the top scorer. Bar chart. The question compares amounts. A bar chart shows the tallest bar at once, and you can read each player's goals on the scale.
    • How a family's monthly income is split between rent, food, transport and savings. Pie chart. The parts make one whole, the income, and the question is about shares. A pie chart shows at once which part takes the biggest share.
    • The heights of five famous towers. Bar chart. The heights do not add up to any whole. A pie chart of heights would have no meaning, because there is nothing to cut into shares.
    • The votes in a class election with three candidates, to see if anyone won more than half. Pie chart. Each student votes once, so the votes make one whole. More than half the votes means a sector bigger than a semicircle, which the eye sees at once.
    • A survey in which each student could tick more than one sport. Bar chart. Students who ticked two sports are counted twice, so the counts add up to more than the number of students. There is no single whole to cut up, so a pie chart would be wrong.
    • Two flavours of ice cream that got 26% and 24% of the votes, to see which one won. Bar chart. The sectors would be 93.6° and 86.4°, which look almost the same. Two bars side by side on a scale show the difference clearly.
    • What fraction of a school's electricity comes from its solar panels. Pie chart. The question is about one share of a whole. A pie chart answers it with a single sector.
    • The average rainfall in a city for each of the 12 months. Bar chart. Twelve slices of similar size are hard to compare, and a circle loses the order of the months. Bars in month order show the wet and dry seasons.

    The rule: Use a pie chart only when the parts make one whole, each item is counted once, and the question is about shares of that whole. When you need to compare amounts, or there are many or very similar categories, use a bar chart.

    Look at the cards that went to the bar chart. Some of them could not be pie charts at all, because their parts do not make one whole. Others could be pie charts, but the question was about comparing amounts. The pie chart wins only when a share of one whole is the question.

    Worked examples

    Worked Example 1 — When the angles are not whole numbers

    Seventy students said how they travel to school: bus 25, walk 18, car 15, bicycle 12. The data are invented. Work out the angles for a pie chart.

    Total = . Here 360 does not divide neatly by 70, so use the share form.

    Bus: , so draw 129°.

    Walk: , so draw 93°.

    Car: , so draw 77°.

    Bicycle: , so draw 62°.

    Check: . The extra degree is not a mistake. Three of the four angles were rounded up, and the small extra pieces added up to 1°. A protractor cannot show the difference. Draw the first three sectors, and let the last one take what is left.

    Worked Example 2 — Angles from percentages

    A family spends its monthly income like this: housing 35%, food 25%, transport 15%, savings 10%, other 15%. The figures are invented. Work out the angles.

    The whole income is 100%, and the whole circle is 360°. So 1% of the income gets .

    Housing: . Food: . Transport: . Savings: . Other: .

    Check: . ✓

    If the family's income is 2400 dollars a month, the housing sector stands for dollars. That is 35% of 2400, as it should be.

    Worked Example 3 — Reading a pie chart

    A pie chart shows how 200 households heat their water. The "solar" sector is 72°. How many households use solar heating?

    Share: . Frequency: households.

    Second method: each household gets . So 72° stands for households.

    Check: 40 out of 200 is a fifth, and a fifth of 360° is 72°. ✓

    Worked Example 4 — Reading a bar chart of real data

    The chart shows the average rainfall in each month in Singapore, over the 30 years 1991 to 2020.

    050100150200250300350JFMAMJJASONDRainfall in mmMonth (January to December)
    Average monthly rainfall in Singapore, 1991 to 2020 (Japan Meteorological Agency, Tokyo Climate Center). The long grid lines are 50 mm apart and the short ones 10 mm apart.

    (a) Which is the wettest month, and which is the driest? (b) About how many times as much rain falls in December as in February? (c) What share of the year's rain falls in November, December and January?

    (a) The tallest bar is December, at about 333 mm. The shortest is February, at about 105 mm. Read each one by going across to the scale and counting the 10 mm lines.

    (b) . December brings a little more than three times as much rain as February.

    (c) The bars read about 254 mm (November), 333 mm (December) and 221 mm (January), which makes about 808 mm. The year's total is 2123 mm. So the share is , about 38%.

    Notice that question (c) is a question about shares. You could draw a pie chart of the twelve months, and the three wet months would make about 137°. But a pie chart would lose the order of the months. The bar chart shows the wet season at the end and start of the year, which twelve slices could not show.

    Three traps

    Trap 1 — Measuring every sector from 12 o'clock

    Each sector must begin where the last one ended. If you measure every angle from 12 o'clock, the sectors lie on top of each other, and most of the circle is left empty.

    120°90°60°every sector started hereleft empty
    A wrong pie chart. Each angle was measured from 12 o'clock, so the sectors lie on top of each other and most of the circle is left empty.

    A quick test: when you finish, the last radius you draw should land back on the first one, at 12 o'clock.

    Trap 2 — Comparing two pie charts as if equal sectors meant equal numbers

    Class A has 30 students and Class B has 45. In both pie charts, cricket has a sector of 120°. The cricket fans are not equal in number. Class A has , but Class B has . Equal sectors mean equal shares. To compare numbers, you need each chart's total.

    Trap 3 — A bar chart whose scale does not start at zero

    Team A scored 52 points and Team B scored 48. Look at the two charts below.

    455055Team A52Team B48axis from 45 0102030405060Team A52Team B48axis from 0
    The same two numbers, 52 and 48, drawn twice. With the scale starting at 45 (top), Team A's bar looks more than twice as tall. With the scale starting at 0 (bottom), the bars look almost equal, which is the truth.

    With the scale starting at 45, Team A's bar is 7 units tall and Team B's is 3 units. So Team A's bar looks more than twice as tall, although 52 is less than 10% more than 48. When you read a bar chart, look at where the scale starts before you trust your eyes.

    Try it yourself

    Work each one on paper first. Open a hint only when you are stuck.

    1. Thirty-six students named their favourite fruit: mango 15, banana 9, apple 7, orange 5. Work out the angle of each sector for a pie chart.

      Hint 1

      The total is 36. How many degrees does each student get?

      Hint 2

      per student. Multiply each frequency by 10°.

      Full answer

      Total = , so each student gets .

      Mango , banana 90°, apple 70°, orange 50°.

      Check: . ✓

    2. A pie chart shows how 480 people travel to work. The "train" sector is 105°. How many people travel by train? Another category has 60 people. What angle is its sector?

      Hint 1

      For the first part, the angle as a fraction of 360° is the share. For the second, the frequency as a fraction of 480 is the share.

      Hint 2

      , and .

      Full answer

      Train: people.

      The other category: , and .

      Check: each person gets . Then ✓ and ✓.

    3. In a pie chart of how a class travels to school, the "walk" sector is 80° and stands for 24 students. The total is not given. How many students are in the class? How many come by bus, if the bus sector is 150°?

      Hint 1

      Find how many degrees one student gets.

      Hint 2

      24 students make 80°, so one student makes . Then the whole circle, 360°, holds how many students?

      Full answer

      One student gets . So the whole circle holds students.

      Another way: 80° is of the circle. If of the class is 24, then the class is .

      Bus: students.

      Check: . ✓

    4. Class P has 30 students and Class Q has 45. In Class P's pie chart, cricket's sector is 120°. In Class Q's pie chart, cricket's sector is only 96°. A student says, "Cricket is more popular in Class P." Is she right? Then work out the cricket sector in one pie chart for both classes together.

      Hint 1

      "More popular" could mean more fans or a bigger share. Work out both.

      Hint 2

      Class P: . Class Q: . For both classes together, add the fans and add the class sizes.

      Full answer

      Class P has cricket fans, a third of the class. Class Q has cricket fans, which is of the class.

      So she is right about the share: a third of Class P is a bigger share than 27% of Class Q. But Class Q has more cricket fans, 12 against 10. The smaller sector stands for more people, because Class Q is bigger.

      Both classes together: fans out of students. The sector is , about 106°.

      Check: 105.6° lies between 96° and 120°, as a combined share must. ✓

    The bigger idea

    Bar charts and pie charts feel as old as numbers, but someone invented them. The Scottish engineer and economist William Playfair published what is usually called the first bar chart in 1786, in his Commercial and Political Atlas. It showed Scotland's exports to and imports from different places over one year, 1780 to 1781. In 1801, in his Statistical Breviary, he published what were probably the first pie charts. One of them showed how much of the Turkish Empire lay in Europe, Asia and Africa: parts of one whole, exactly the kind of data a pie chart is for.

    Much later, people tested how well readers judge each kind of chart. In 1984, the statisticians William Cleveland and Robert McGill found that people compare positions and lengths on a common scale more accurately than angles. The differences were often small, but they help explain why a bar chart is the safer choice for comparing amounts.

    So a chart is not decoration. It is a decision about which question the reader should be able to answer at a glance. Choose the question first, and the chart follows.

    Key concepts in this lesson