Drawing Histograms

On this page

How to draw a histogram from a frequency table, then complete an incomplete histogram: find the scale from a bar you know, or use the total.

The method

Draw a histogram. The ages of 90 people at a swimming pool are grouped in the table.

1. Work out each class width: the upper end minus the lower end. 10<a\le15 has width 15-10=5.

2. Frequency density = frequency \div class width. For 10<a\le15: 15\div5=3

3. Draw each bar from the lower end of its class to the upper end, as high as its frequency density. Number the vertical axis evenly from 0 and label it Frequency density. The bars touch: there are no gaps.

The area of each bar is its frequency: 5\times3=15. So frequency = frequency density \times class width.

Bars as high as the frequencies make a bar chart, which scores nothing. Full marks need both axes scaled and labelled, and every bar the right width.

Watch decimal widths: 2.5<m\le2.8 has width 0.3, so a frequency of 12 gives 12\div0.3=40.

Now try this

The table gives information about the times, in minutes, that 80 people waited at a doctor's surgery.

A histogram is drawn for this information. Work out the height of the bar for 20<t\le35.

  1. Class width: 35-20=15
  2. Frequency density =27\div15=1.8

More like this: practice questions

Worked example 1: Finding the scale from a bar you know

The histogram gives information about the times, in minutes, that some people spent in a museum. The histogram is incomplete.

30 people spent between 20 and 40 minutes in the museum. 36 people spent between 50 and 80 minutes in the museum.

Complete the histogram.

  1. Find the scale from the bar whose frequency you know. For 20<t\le40: frequency density =30\div20=1.5
  2. That bar is 15 small squares high, so one small square up is 1.5\div15=0.1.
  3. For 50<t\le80: frequency density =36\div30=1.2, which is 12 small squares high.
  4. Write the scale working down: 30\div20 earns a mark even if the bar is wrong.
  5. The same scale completes a table: for a bar with no frequency, frequency = frequency density \times class width.

Now try this

The incomplete table and the incomplete histogram give information about the distances that some students threw a ball.

Use the histogram to find the missing frequency in the table.

  1. For 20<d\le30: frequency density =36\div10=3.6. Its bar is 18 small squares high, so one small square up is 3.6\div18=0.2.
  2. For 0<d\le20: frequency density =7\times0.2=1.4
  3. Frequency =1.4\times20=28

More like this: practice questions

Worked example 2: Using the total

The histogram gives information about the times that 120 people took to finish a puzzle. The histogram is incomplete.

No one took more than 50 minutes.

Complete the histogram.

  1. Find the frequency of each bar (frequency density \times class width). One small square up is 0.2.
  2. 10\times1.8=18\qquad5\times4.4=22\qquad10\times3.2=32\qquad20\times0.8=16
  3. Take them from the total: 120-(18+22+32+16)=120-88=32 people took 15<t\le20 minutes.
  4. Frequency density =32\div5=6.4
  5. Given a percentage instead ("20% took between 15 and 20 minutes"), the bars drawn are the other 80%: find the total from them first.
  6. Two missing classes with the same frequency: share what is left equally between them, then divide each by its own class width.

Now try this

The histogram gives information about the heights of 50 plants. The histogram is incomplete.

No plant was taller than 45 cm.

Work out the frequency density for the bar for 25<h\le45.

  1. Frequencies of the bars drawn: 10\times0.6=6, 10\times1.4=14, 5\times2.4=12
  2. Missing class: 50-(6+14+12)=18 plants
  3. Frequency density =18\div20=0.9

More like this: practice questions

Practice questions