Ctrl+k

Create histograms

A histogram represents the distribution of numerical data by grouping values into equal-width, adjacent intervals and showing each interval’s frequency with a bar whose height matches the number of observations it contains. Creating one requires selecting appropriate intervals, placing values consistently at boundaries, and using clear labels and scales; unlike a bar graph, its touching bars indicate continuous numerical intervals rather than separate categories. Unequal-width intervals and frequency-density comparisons are not included.

Detailed Explanation: Create histograms

A histogram shows how numerical data are spread across equal-width intervals.

Example

The numbers of minutes 12 students spent reading are:

2, 4, 5, 7, 8, 10, 11, 11, 13, 14, 16, 182,\ 4,\ 5,\ 7,\ 8,\ 10,\ 11,\ 11,\ 13,\ 14,\ 16,\ 18

1. Choose equal-width intervals

Use intervals that are each 5 minutes wide:

  • 0044
  • 5599
  • 10101414
  • 15151919

These intervals are next to one another and do not overlap. In boundary notation, they mean:

  • 0x<50 \leq x < 5
  • 5x<105 \leq x < 10
  • 10x<1510 \leq x < 15
  • 15x<2015 \leq x < 20

So, a value exactly equal to 55 goes in the 5599 interval.

2. Count the values in each interval

Reading timeValues in the intervalFrequency
00442,42,422
55995,7,85,7,833
1010141410,11,11,13,1410,11,11,13,1455
1515191916,1816,1822

The frequency is the number of data values in each interval.

3. Draw and label the histogram

  • Label the horizontal axis Reading time (minutes).
  • Label the vertical axis Frequency.
  • Mark the frequency scale from 00 to 55.
  • Draw one bar for each interval.
  • Make the bar heights 2,3,5,2,3,5, and 22.
  • Make the bars touch because the intervals represent continuous numerical ranges.

The finished histogram has bars over 0044, 5599, 10101414, and 15151919, with heights matching their frequencies. Unlike a bar graph, a histogram’s bars touch.

Learn by doing: Create histograms

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Practice with unlimited practice problems

Statistics - Histograms - Frequency Table to Histogram


    ?