In the context of this exercise, how is each bar’s height determined in a histogram?
Each bar’s height in a histogram is the count of values that fall within each bin, or range, of values. The actual values of the data do not affect the height, as each is counted as 1 toward the total height of a bar.
Every bin of a histogram, except for the last bin, counts the values in each range in the following manner:
where the start value of a bin is inclusive toward the count, and the end value is exclusive. For example, with a histogram bin of values between 10 and 20, the value 10 is included, but the value 20 is not included.
The last bin of a histogram is inclusive for the end value. For example, if the last bin is between 80 and 90, then both 80 and 90 are included in the final bar.