Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 8 Maths Investigating Data

Frequency Histogram and Polygons

20 practice questions 2 video lessons Theory + worked examples

A frequency histogram is a column graph for numerical data in which the columns touch. In NSW Year 8 maths (NESA outcome MA4‑DAT‑C‑01) a frequency polygon is drawn over it by joining the middle of each column top and closing the line down to the axis at both ends.

You will read histograms of single values and of grouped data, find class centres, the modal class, the total and a percentage, and calculate a mean from a histogram. You will also spot a mistake in a histogram’s scale, compare two polygons on the same axes, combine two classes’ histograms and rebuild a histogram from clues. Data includes flathead lengths, parkrun times and screen time. It is part of Year 8 Investigating Data.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Frequency Histogram and Polygons - Video - Frequency Histogram and Polygons 1 Watch
  • Frequency Histogram and Polygons - Video - Frequency Histogram and Polygons 2 Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A frequency histogram shows numerical data as columns that touch; each column’s height is the frequency. A frequency polygon joins the middles of the column tops. For \(15\) test scores with a tallest column at \(6\), the mode is \(6\). This Year 8 maths page shows how.

A histogram has the values on the horizontal axis and the frequency on the vertical axis. The columns touch, because the values or classes join with no gaps. (A column graph of categories has gaps.)

Single values: centre each column on its value. Grouped data: each column covers one class of equal width; the class \(20\)–\(30\) holds values from \(20\) up to (but not including) \(30\).

The class centre is halfway across the class: \(\dfrac{\text{lower end} + \text{upper end}}{2}\).

A frequency polygon: put a point at the middle of the top of each column (height \(=\) frequency) and join the points with straight lines. Close it down to the axis at the centre of the empty class on each side; those two end points are not data.

Reading the graph. The total is the sum of the frequencies. The mode (or modal class) has the tallest column. The median comes from a running total of the frequencies, at position \(\dfrac{n + 1}{2}\). For single values, mean \(= \dfrac{\text{sum of (value} \times \text{frequency)}}{\text{total}}\).

Grouped data hides the exact values, so its range can only be estimated. Two polygons on the same axes are compared by where they sit: the one further right has the higher values.

Label it. A title, axis labels with units, and a frequency scale in equal steps.

Tomatoes picked with a frequency polygon A histogram of tomatoes picked from 29 plants in classes 10 to 20, 20 to 30, 30 to 40, 40 to 50 and 50 to 60, with frequencies 3, 6, 9, 7 and 4. A red frequency polygon joins the middles of the column tops and closes to the axis half a class beyond each end. 0 2 4 6 8 10 10 20 30 40 50 60 Tomatoes from one plant Plants
The shaded columns are the histogram. The red line is the frequency polygon, through the class centres \(15, 25, 35, 45, 55\), closing to the axis at \(5\) and \(65\). The modal class is \(30\)–\(40\) tomatoes.

Class centres:

ClassClass centre
\(10\)–\(20\)\(15\)
\(\$5\)–\(\$10\)\(\$7.50\)
\(2\)–\(4\) km\(3\) km
\(140\)–\(150\) cm\(145\) cm
The columns must touch. Gaps belong to a column graph of categories, not to a histogram.
The modal class is a class. Answer “\(30\)–\(40\)”, not the frequency \(9\).

Drawing a histogram and polygon

  1. Draw the axes: values (or classes) across, frequency up, in equal steps.
  2. Draw touching columns, each as high as its frequency.
  3. Mark the middle of each column top and join the points.
  4. Close the polygon to the axis at the centres of the empty classes at each end; add a title and labels.

Reading statistics

  1. Total: add the column heights. Mode: the tallest column.
  2. Median: keep a running total to position \(\dfrac{n + 1}{2}\) (or the two middle positions).
  3. Mean (single values): sum of value \(\times\) frequency, divided by the total.
Example 1 — Reading a histogram
The histogram shows students’ scores out of ten. Find
(i) the number of students
(ii) the mode
(iii) the range
(iv) the median
(v) the mean.
Test scores out of ten A histogram of 15 test scores with touching columns centred on the scores: 3 one student, 4 two, 5 three, 6 four, 7 two, 8 one, 9 two. 0 1 2 3 4 5 3 4 5 6 7 8 9 Test score Students
Solution

The column heights are \(1, 2, 3, 4, 2, 1, 2\) for the scores \(3\) to \(9\).

\(1 + 2 + 3 + 4\)\(=\)\(10\)
\(10 + 2 + 1 + 2\)\(=\)\(15\)
\(\text{Range}\)\(=\)\(9 - 3 = 6\)
\(\text{Median}\)\(=\)\(\text{8th score} = 6\)
\(\text{Mean}\)\(=\)\(\dfrac{90}{15} = 6\)
156666

(i) \(15\)
(ii) \(6\) (the tallest column)
(iii) \(6\)
(iv) \(6\): with \(15\) scores the median is in position \(\dfrac{15 + 1}{2} = 8\); running totals \(1, 3, 6, 10\) put the 8th score at \(6\).
(v) \(6\)

Example 2 — Percentages from the same data
Using the data of Example 1, what percentage of the students scored
(i) more than \(6\)
(ii) less than \(6\)?
Solution
\(2 + 1 + 2\)\(=\)\(5\)
\(\dfrac{5}{15} \times 100\%\)\(=\)\(33\dfrac{1}{3}\%\)
\(1 + 2 + 3\)\(=\)\(6\)
\(\dfrac{6}{15} \times 100\%\)\(=\)\(40\%\)
331/340

(i) \(33\dfrac{1}{3}\%\)
(ii) \(40\%\). On a frequency polygon of this data the points sit at the same heights, and it closes to the axis at \(2\) and \(10\).

Example 3 — Totals and percentages
A histogram of after-school activities in 8E has columns \(3, 7, 9, 4, 2\) above \(0, 1, 2, 3, 4\) activities. Find
(i) the number of students
(ii) the mode
(iii) the percentage who do \(3\) or more.
Solution
\(3 + 7 + 9 + 4 + 2\)\(=\)\(25\)
\(\dfrac{4 + 2}{25} \times 100\%\)\(=\)\(24\%\)
25224

(i) \(25\)
(ii) \(2\) activities (tallest column, \(9\))
(iii) \(24\%\)

Example 4 — Building a polygon
\(27\) students spent \(\$5\)–\(\$10\) (\(5\) students), \(\$10\)–\(\$15\) (\(13\)), \(\$15\)–\(\$20\) (\(7\)) and \(\$20\)–\(\$25\) (\(2\)) at the canteen.
(i) List the class centres.
(ii) Give the highest point of the polygon.
(iii) Name the modal class.
Solution
\(\dfrac{5 + 10}{2}\)\(=\)\(7.5\)
$7.50,$12.50,$17.50,$22.50($12.50,13)

(i) \(\$7.50\), \(\$12.50\), \(\$17.50\), \(\$22.50\) (steps of \(\$5\))
(ii) \((\$12.50,\ 13)\)
(iii) \(\$10\)–\(\$15\)

Example 5 — Mean and median from a histogram
The histogram shows how many days last week each of \(20\) students caught the bus. Find
(i) the mean
(ii) the median.
Days on the bus A histogram of 20 students: 0 days 2, 1 day 3, 2 days 4, 3 days 5, 4 days 4, 5 days 2. 0 1 2 3 4 5 6 0 1 2 3 4 5 Days on the bus Students
Solution
\(0 + 3 + 8\)\(=\)\(11\)
\(15 + 16 + 10\)\(=\)\(41\)
\(\text{Mean}\)\(=\)\(\dfrac{11 + 41}{20} = 2.6\)
2.6 days 3 days

(i) \(2.6\) days
(ii) \(3\) days: the 10th and 11th values both sit in the column at \(3\) (running totals \(2, 5, 9, 14\)).

Example 6 — Modal class and median class
\(40\) students recorded their minutes of exercise in classes \(0\)–\(20\), \(20\)–\(40\), \(40\)–\(60\), \(60\)–\(80\), \(80\)–\(100\), with frequencies \(5, 14, 12, 6, 3\). Find
(i) the modal class
(ii) the class holding the median
(iii) the percentage who did \(60\) minutes or more.
Solution
\(\dfrac{6 + 3}{40} \times 100\%\)\(=\)\(22.5\%\)
2040406022.5

(i) \(20\)–\(40\) min
(ii) \(40\)–\(60\) min (running totals \(5, 19, 31\) reach the 20th and 21st values in the third class)
(iii) \(22.5\%\)

Common pitfalls

Gaps between columns. A histogram’s columns touch; leave gaps only on a column graph of categories.
Unequal steps on the scale. Labels \(0, 5, 10, 15, 25\) spaced evenly make the last space cover \(10\) but look like \(5\).
Not closing the polygon. Bring the polygon down to the axis half a class beyond the first and last columns.
Exact values from grouped data. A column for \(20\)–\(30\) cannot say how many values are above \(24\).

Frequently asked questions

What is a frequency histogram?

A graph of numerical data with touching columns, where each column’s height is the frequency.

How do you draw a frequency polygon?

Put a point at the middle of the top of each column, join them with straight lines, and close the shape to the axis half a class beyond each end.

What is the class centre?

The middle of a class: add the two ends and divide by \(2\).

What is the modal class?

The class with the tallest column.

Why do histogram columns touch?

Numerical classes follow on from each other with no gaps between them.