Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Histogram – basics
2. Histogram – how to read it
More on histograms

Instruction

To construct a histogram, divide the entire range of values into non-overlapping adjacent intervals (bins), and then count how many elements from the dataset fall into each interval. This is how we built the example histogram from the last section.

Notice how the intervals below are expressed:

  • from equal to 0 to less than 10;
  • from equal to 10 to less than 20,
  • etc.

The histogram data can also be expressed in table form, as seen here.

Bin Count
[ [This bracket means that the number is included in the interval. The interval is left-closed.0; 10 ))This bracket means that the number is not included in the interval. The interval is right-open. 3
[10; 20) 4
[20; 30) 5
[30; 40) 3
[40; 50) 2
[50; 60) 1

Of course, you can also use different bin widths (i.e. using an interval of 5 instead of 10) to learn more about the dataset.

Exercises
  1. Fill in the boxes below with the number of elements in the corresponding bin.

values012345count

Bin Count Bin Count
[0; 5) [5; 10)
[10; 15) [15; 20)
[20; 25) [25; 30)
[30; 35) [35; 40)
[40; 45) [45; 50)
[50; 55) [55; 60)