Descriptive Statistics › Visual Examples
Machine Learning from ScratchAll chapters Descriptive Statistics › Visual ExamplesOne section · Sections in this chapter6 / 11 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Visualizing descriptive statistics makes these concepts clearer, helping us see patterns more easily. The following examples show how distributions can differ in their centers and spreads as well as in their overall shapes.
Example: Comparing Distributions with Different Properties
This visualization compares three distributions: a symmetric normal distribution, a right-skewed distribution, and a high-kurtosis distribution with heavy tails. Each plot includes reference lines showing the mean with a solid line and the median with a dashed line to illustrate how these measures respond to distributional shape.



Example: The 68-95-99.7 Rule
The empirical rule gives an easy way to understand standard deviation. Under a normal model, approximately 68% of probability lies within one population standard deviation of the mean, 95% within two, and 99.7% within three. Proportions in a finite random sample fluctuate around these population probabilities.


Example: Measures of Spread Visualization
This example compares the range and IQR with standard deviation to show how each measure captures variability in data. It also shows how these measures behave when outliers are present.

