Histogram
By Jude Wallis · Published
A histogram displays quantitative data by grouping values into equal-width intervals and drawing a bar for the count in each interval.
A histogram cuts the number line into bins of equal width and draws a bar over each bin whose height is the count of values inside it, or the relative frequency. The bars touch because the axis is a continuous scale rather than a list of labels. Every histogram needs a boundary rule, and the usual one puts a value in the bin whose lower bound it meets or exceeds and whose upper bound it falls below.
Thirty exam scores binned by tens give 9 scores in 70 to 80 and 12 in 80 to 90, and three of those students scored exactly 80. Switch to the other convention, where a value belongs to the bin whose upper bound it equals, and those three move down: the counts become 12 and 9, the tallest bar changes, and so does the shape you would report. Nothing in the drawn picture tells you which rule was used.
The misreading is "twelve students scored 85." The bar over 80 to 90 says twelve students scored somewhere in that interval and nothing more. The individual values have been thrown away, which is also why you cannot read a median off a histogram, only the bin the median lands in.
Equal width is doing real work in the definition. When bins differ in width, height stops encoding frequency fairly: a bin of width 20 holding 12 values and a bin of width 10 holding 9 draw bars of height 12 and 9, so the wide one looks bigger, while the densities are and values per unit and the narrow bin is the more crowded one. With unequal bins the vertical axis has to carry density and you read area, not height.
A histogram also destroys the order the values arrived in, which is what a time plot keeps, and its shape depends on the bin width you choose. Histograms are topic 1.5.
Where this comes up
- Dotplot vs histogram vs stemplot: how to chooseComparison
- Histogram vs bar graph: the difference that mattersGuide
- Dotplot, stemplot, and histogram practicePractice
- AP Stats 1.5: Graphs for Quantitative DataAP topic
- How to find the mode (and when it is useful)Guide
- How to read and make a stemplot (stem-and-leaf)Guide
- Skewed left vs skewed right: what happens to the meanGuide
- How to describe a distribution (and get full credit)Guide
23 pages on the site use this term.
More graphs and displays terms, or browse the full statistics glossary.