Histogram maker

Paste your raw numbers — no need to count them first. ChartCraft picks sensible bins, draws the histogram and gives you the frequency table and summary statistics.

Paste raw numbers — separated by spaces, commas, tabs or new lines. Don’t count them first; the tool does that.

Labels & options
Commute times30 colleagues, minutes one way051010–20: 520–30: 1130–40: 940–50: 350–60: 2102030405060MinutesPeople

Frequency table · Sturges' rule: ⌈log₂(30) + 1⌉ = 6 bins · width 10
BinCountRelative
10 – <20516.7%
20 – <301136.7%
30 – <40930%
40 – <50310%
50 – <6026.7%
Summary statistics
GroupnMinQ1MedianQ3MaxMeanSD
Data30122228.5365830.1711.06

Write a caption for this chart

Get a plain-English summary with the key numbers — handy for slide notes, reports and alt text. Your data is sent to the AI only when you click.

How to make a histogram

  1. Paste the raw values, separated by spaces, commas or new lines (a spreadsheet column works).
  2. Leave bins at 0 for automatic Sturges’ rule bins, or set a number of bins or an exact bin width.
  3. Read the frequency table and the five-number summary under the chart.
  4. Add a frequency polygon if you need one, then download PNG or SVG.

Same data, different bin width

30 commute times in minutes. Drag the bin width and watch the shape change — the data never does.

102030405060

Width 2 shows mostly noise; 25 squashes everything into two bars. Around 5–10 shows the real story: most people commute 20–35 minutes, with a long tail to the right.

How the bins are chosen

With bins set to 0, the tool uses Sturges’ rule: k = ⌈log₂(n) + 1⌉ bins for n values, then rounds the width to a friendly number (1, 2, 2.5, 5 × a power of ten) so the edges land on round values. Each bin includes its left edge and excludes its right edge, except the last bin, which includes the maximum. You can override with a number of bins or an exact width.

The bin width changes the story. Too few bins hide the shape; too many make noise. Drag the slider in the explainer to see it happen.

Reading the shape

  • Symmetric / bell-shaped: mean ≈ median.
  • Right-skewed (long tail to the right, like incomes or commute times): mean > median.
  • Left-skewed: mean < median.
  • Two peaks (bimodal): often two groups mixed together.

Want to see every value? Try a dot plot or stem-and-leaf plot. Comparing groups? A box plot is more compact.

Questions

How many bins should a histogram have?

There is no single right answer. Sturges’ rule (used here by default) works well for up to a few hundred values; the square-root rule (√n bins) is a common alternative. Try a few and choose the one that shows the shape without noise.

Why are there no gaps between the bars?

Because the bins cover a continuous range: one bin ends exactly where the next starts. Gaps are for bar graphs of separate categories.

Can I make a histogram from a frequency table?

This tool expects raw values. If you only have counts per range, use the bar graph maker with the ranges as categories, and set the direction to vertical.

What is a frequency polygon?

A line joining the midpoints of the tops of each bar, closed at zero on both ends. Tick “Frequency polygon” to overlay one.

Other charts you can make