STEMviz
Mathematics · Geometry, Vectors and Statistics

Data Presentation - Histograms and Box Plots

Raw numbers, even once summarised into a mean and a standard deviation, don't show a data set's shape — whether it clusters symmetrically, piles up at one end, or splits into separate clumps. This chapter covers the two standard visual tools for showing that shape — histograms (with frequency density) and box plots (with the five-number summary and the 1.5×IQR1.5\times\text{IQR} outlier rule) — and the midpoint technique for estimating statistics when data arrives already grouped into intervals.

To follow the chapter you need the quartiles and IQR from the previous chapter, and comfort reading and constructing frequency tables. Have graph paper or a grid ready, since both tools in this chapter are fundamentally visual.

Grouped data loses individual values. A histogram or a box plot built from grouped (class-interval) data can only ever give estimates of quantities like the median or quartiles, since the exact individual values inside each interval are unknown.

1. Frequency Tables and Grouped Data

When data covers a wide range, it is organised into class intervals (e.g. 10≤x<2010\le x<20) with an associated frequency. The midpoint of an interval is used as a stand-in for every value inside it when estimating statistics like the mean:

midpoint=lower boundary+upper boundary2\text{midpoint} = \frac{\text{lower boundary}+\text{upper boundary}}{2}

This substitution is an approximation: it assumes data is evenly spread within each interval, which is rarely exactly true, so any mean or standard deviation computed from grouped data is an estimate, not an exact value.

Keep reading: Data Presentation - Histograms and Box Plots

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.