• Practice
  • About 17 min
  • 5 practice questions

Histogram, frequency polygon and pie diagram

Draw a histogram from continuous classes, draw a frequency polygon with or without a histogram, find central angles for a pie diagram, and read information from one.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Draw a histogram from a grouped frequency table.
  • Draw a frequency polygon from a histogram or directly from class marks.
  • Calculate central angles for a pie diagram and answer questions from a given pie diagram.

Tables are exact but slow to read. A picture shows at a glance where most of the data lies or how a whole is shared. Pioneers of statistics such as Florence Nightingale used diagrams to persuade people with data. This lesson covers three such pictures.

Ways of presenting data

  • Tabulation
    • Ungrouped
    • Grouped
  • Pictorial
    • Bar diagrams
    • Pie diagram
  • Graphical
    • Histogram
    • Frequency polygon
    • Line graph

Histogram

  1. If the classes are not continuous, make them continuous (for example 8-9, 10-11 become 7.5-9.5, 9.5-11.5).
  2. Show the classes on the X-axis and the frequencies on the Y-axis, each with a suitable scale.
  3. On each class as base, draw a rectangle whose height is the frequency. Adjacent rectangles touch, because the classes are continuous.
  4. If the first class starts far from 0, draw a small zig-zag 'kink' on the axis near the origin to show that part of the axis is skipped.

Frequency polygon

With a histogram: mark the midpoint of the top of each rectangle, add one imaginary class of zero frequency before the first class and one after the last, and join all the points in order with straight lines. Without a histogram: plot the points (class mark, frequency), including the two extra zero-frequency classes, and join them.

Worked example 1: points for a frequency polygon (made-up data)

Classes 10-20: 5, 20-30: 12, 30-40: 9, with extra classes at both ends
ClassClass markFrequencyPoint
0-10 (extra)50(5, 0)
10-20155(15, 5)
20-302512(25, 12)
30-40359(35, 9)
40-50 (extra)450(45, 0)

Reading a polygon works backwards: a point (35, 9) means the class whose class mark is 35, that is 30-40, has frequency 9.

Pie diagram

A pie diagram shows the parts of a whole as sectors of a circle. The angle at the centre of each sector is proportional to the size of that part, and all the central angles add up to 360°.

Central angle of a sector θ = (number of scores in the component ÷ total number of scores) × 360°. For a percentage p, θ = p/100 × 360° = 3.6p°.

— Pie diagram

Worked example 2: central angles (made-up data)

A family's monthly spending, invented for practice
ItemPercentageCentral angle
Food35%35/100 × 360 = 126°
Rent25%90°
Education20%72°
Travel10%36°
Savings10%36°
Total100%360°

To draw it, draw a circle and one radius, then measure each angle with a protractor one after another, and label each sector.

Worked example 3: reading a pie diagram

In a pie diagram of students' favourite games, the sector for football has a central angle of 72° and represents 90 students. How many students were surveyed, and how many does a 48° sector represent? Working: 72° ↔ 90 students, so 360° ↔ 90 × 360/72 = 450 students. A 48° sector represents 48/360 × 450 = 60 students.

Key takeaways: a histogram uses touching rectangles on continuous classes; a frequency polygon joins (class mark, frequency) points and closes on the axis at both ends; a pie diagram uses central angles θ = (part ÷ total) × 360° that add to 360°. To read a pie diagram, use the proportion angle ÷ 360 = part ÷ total.

Check your understanding

  1. 1. In a pie diagram of 180 people, what central angle represents 45 people?

    1. 45°
    2. 60°
    3. 90°
    4. 120°
    Show answer

    Answer: C. θ = 45/180 × 360° = (1/4) × 360° = 90°.

  2. 2. What central angle represents 30% of the data in a pie diagram?

    1. 30°
    2. 108°
    3. 120°
    4. 100°
    Show answer

    Answer: B. θ = 30/100 × 360° = 108°.

  3. 3. Which coordinates are plotted to draw a frequency polygon without a histogram?

    1. (lower limit, frequency)
    2. (upper limit, cumulative frequency)
    3. (frequency, class mark)
    4. (class mark, frequency)
    Show answer

    Answer: D. Each class is represented by its class mark on the X-axis and its frequency on the Y-axis, plus an extra zero-frequency class at each end.

  4. 4. In a pie diagram, a sector of 60° represents 150 people. How many people does the whole diagram represent?

    1. 900
    2. 600
    3. 2500
    4. 360
    Show answer

    Answer: A. 60° is 60/360 = 1/6 of the circle, so the total is 150 × 6 = 900 people.

  5. 5. The classes in a table are 10-19, 20-29, 30-39. What must you do before drawing a histogram?

    1. Nothing; draw rectangles with gaps
    2. Make them continuous: 9.5-19.5, 19.5-29.5, 29.5-39.5
    3. Change them to 10-20, 20-30, 30-40 and move the scores
    4. Use the class marks as heights
    Show answer

    Answer: B. A histogram needs continuous classes so that the rectangles touch. Subtract 0.5 from each lower limit and add 0.5 to each upper limit.

Sign in to keep track of the lessons you finish.

Next lesson → Final self-assessment: Statistics

Privacy · Terms · Refunds · Delivery