Histograms

This lesson covers: 

  1. What a histogram is
  2. How to calculate frequency density
  3. Interpreting histograms

Introduction to histograms


Histograms plot frequency density on their vertical axis to show how data is spread over various ranges, known as classes. 

Histogram showing frequency density by age in years with three bars representing different age ranges.

Class width


Class width is the width of the bars on the histogram.

It can be calculated using the formula:


class width = highest value in class - lowest value in class

Frequency Density


Frequency density is the frequency per unit for the data in each class.

It can be calculated using the formula:


frequency density = frequencyclass width\text{frequency density = }\frac{\text{frequency}} {\text{class width}}

Frequency


The number of times a value occurs.

Frequency can be calculated using the rearranged formula:


frequency = frequency density x class width

Worked example 1: Sunflower height survey


The following dataset records the height and frequency of sunflowers in a field. Find the missing frequency.

height (cm)Frequency
0 < x ≤ 4040
40 < x ≤ 120
120 < x ≤ 160280
160 < x ≤ 20040
Histogram showing the frequency density of sunflower heights in a field.

Worked example 2: Histogram of resale value. 


Use the table below to plot a histogram of the resale value of some second hand cars.

resale valuefrequencyfrequency density
0 < p \leq 5,0004
5000 < p \leq 15,0009
15,000 < p \leq 20,0004
20,000 < p \leq 30,0001

Calculate the missing frequency density in the table below.

Number of pointsFrequencyFrequency density
0 < p \leq 551
5 < p \leq 1260.86
12 < p \leq 1940.57
12 < p \leq 252?

0.08

0.15

12.5

13

0

/

1

Calculate the missing frequency in the table below.

Age (months)FrequencyFrequency density
0 < p \leq 6?1.5
6 < p \leq 1271.17
12 < p \leq 24121
24 < p \leq 3690.75

9

7

6

5

0

/

1

The table shows information about the time, in seconds, taken for some people to complete a puzzle.

Time (seconds)FrequencyFrequency density
10 < t \leq 20120.8
25 < t \leq 3528
35 < a \leq 40428.4
40 < a \leq 45306.0
45 < a \leq 6090.6

Use the information in the table to complete the histogram.

0

/

3

Worked example 2: Histogram of resale value. 


Use the table below to plot a histogram of the resale value of some second hand cars.

resale valuefrequencyfrequency density
0 < p \leq 5,0004
5000 < p \leq 15,0009
15,000 < p \leq 20,0004
20,000 < p \leq 30,0001