Code tool

Histogram Maker

Paste comma or whitespace separated numbers to calculate histogram bins in your browser.

In-browser processingNo account requiredPrivacy details ↗

Choose Sturges, Scott, Rice, square-root, Freedman–Diaconis, or an explicit bin count. Rules are bounded to keep the chart usable.

A QUICK WALKTHROUGH

How to use this tool

  1. Paste finite numeric data separated by commas or whitespace.
  2. Choose a bin rule, count mode, and optional mean or median marker.
  3. Copy the bins CSV or download the SVG chart.

Bin rules

Choose Sturges, Scott, Rice, square-root, Freedman–Diaconis, or an explicit bin count. Rules are bounded to keep the chart usable.

Data limits and edge cases

Enter finite numbers only, with at most 10,000 values. At least two distinct values are needed; zero standard deviation or zero IQR receives a clear message.

Privacy

Data stays in this browser. SVG labels are escaped before export.

GOOD TO KNOW

Common questions

Can I use CSV?

Yes. Commas, spaces, tabs and line breaks are accepted.

What does proportion mean?

It is the bin count divided by the total number of observations.