Interactive statistics

56 free interactive lessons: from mean and median to A/B tests and Bayes. Drag the charts and build intuition. No sign-up.

Module 1: Descriptive statistics

The shape of data: the histogram

Points on a line work while the numbers are few. But the "Mama John's" chain has grown to fifty employees — individual points no longer tell you anything. You need to see the whole shape: where salaries are dense, where sparse, whether a tail stretches out anywhere. So the data is dropped into "bins" — ranges — counting how many people fall into each. That is a histogram.

2028354350

The height of a bar is how many people earn a salary from that range. The main thing is visible at once: there is a "hump" where most people are (around 33–37k) and thin edges. That is the shape of the data — in a single glance.

Why look at the shape

Shape is the first diagnosis of data. The salary histogram of "Mama John's" shows at once both the typical level (a hump around 33–37k) and the skew, when a lonely bar for the director appears on the right.

So before computing means and building models, an analyst always looks at the shape: it hints whether the data is symmetric, whether there is a long tail, and whether lone values might distort the conclusions.

Where it shows up

Histograms are everywhere: the distribution of grades in a class, app load times, audience ages, store receipts. The shape instantly tells you whether the data is "even" or long-tailed.

The shape also suggests the method: for a symmetric "bell" the mean and σ work well, while for skewed, tailed data the median and percentiles are more honest.

We keep mentioning the "hump" and the "long tail". But data is convenient to describe not only by shape but also by its edges — what share of values lies below a given threshold. That is what we'll take up in the next lesson.

Definitions
Histogram
A bar chart of the shape of data: values are split into ranges (bins) and it shows how many observations fall into each. It reveals where the data concentrates and where it is sparse.
In plain words: data sorted into buckets: where it is dense and where it is empty.
Bin
A single range of values on a histogram. Bin width is a choice: too wide smooths the shape away, too narrow shows random noise instead of shape.
In plain words: a range values fall into; the shape is built from the bins.
Long tail
A region of rare but far-lying values on one side of a distribution. On a histogram — low bars stretching far from the main hump.
In plain words: rare large values that pull the edge of the distribution sideways.
Next →
Enjoying the materials?

This site is built by the DataSlice Telegram channel: data analytics in plain words — real cases, metrics, careers. The channel is in Russian.

Open the Telegram channel