Measurement distribution

Histogram example: laboratory measurements

Inspect thirty illustrative measurements using Sturges bins and counts. Open the editor to inspect actual boundaries and reproduce the bin table.

Open this example in the editorStart from scratch

n = 30; 6 bins; Count024681023.33334.666767.33338.666710Measurement (units)Count
Thirty illustrative raw values grouped into automatically selected bins. Illustrative data.

About this example

These thirty measurements include repeated values between 2 and 10. Each row is an observation, so repeated values contribute separately to the relevant bin count.

Automatic binning uses the documented Sturges choice. The visible interval table identifies the actual edges and counts; changing the bin settings can alter the apparent shape without changing the source observations.

The data

Value
2
3
3
4
4
4
4
5
5
5
5
5
6
6
6

…and 15 more rows. Open the example to see all of them.

The editor reports bin boundaries, counts and probability densities; it fits no distribution. Open the example, replace the data with your own, and export the figure as SVG, PDF, PNG or TIFF.

More examples