CHART CHOICES & CHECKABLE METHODS

Histogram bin width: choose and check the grouping

Bin width sets how much numeric range each histogram bar covers. Narrow bins preserve local detail; wider bins combine it. Choose a width tied to the question, then check nearby reasonable settings without changing the underlying observations.

All chart guides →

The comparison at a glance

SettingWidth 10Width 20
Start4040
Bin count63
Frequencies2, 3, 4, 5, 4, 25, 9, 6
Total observations2020

A width change is a data grouping change

The twenty fictional scores in our example use width 10 from a start of 40. Their counts are 2, 3, 4, 5, 4 and 2. With width 20 from the same start, adjacent counts combine into 5, 9 and 6. The observations have not changed, but the grouped description has become coarser.

Start and width work together

A width of ten beginning at 40 is not equivalent to a width of ten beginning at 35. Different boundary positions can place observations into different intervals and shift a visible peak. Report the start or full boundaries when reproducibility matters. The calculated table gives both endpoints and makes the inclusion convention explicit.

Watch for unstable stories

If a claimed cluster appears only under one carefully chosen width, inspect the raw data and alternative widths before emphasizing it. Very narrow bins in a small sample can create isolated spikes. Very wide bins can combine distinct groups. A useful choice communicates the relevant scale without pretending that a histogram is independent of its settings.

Use the controls predictably

In this maker an explicit positive bin width overrides the requested bin count. The final interval includes the maximum observation. Clearing width lets the requested count determine an equal width over the chosen range. Settings that would create more than fifty bins are rejected, so no observations disappear merely to satisfy a visual limit.

A related chart you can inspect

Histogram of class scores with ten-point bins
Histogram of class scores with ten-point bins. Original fictional data; this linked example has its own complete input and calculation settings.

Open the worked example ↗

References and reproducibility

The worked arithmetic and teaching examples on this page are original. Background reading: NIST histogram background. Source code and reuse terms expose the implemented calculations.

Written by SupaMakers for ChartsAI · September 8, 2026.

Continue with a related question