Histogram Generator

Paste your data and instantly generate a customizable histogram — download as PNG for your reports and assignments.

Data & Options

Leave blank for auto (Sturges' rule)
Load example:

About Histograms

What is a Histogram?

A histogram displays the distribution of continuous data by grouping values into intervals (bins) and drawing bars whose heights represent the frequency in each bin. Unlike bar charts, histogram bars touch each other — indicating continuous data.

Choosing the Number of Bins

Sturges' Rule: k = 1 + 3.322 × log₁₀(n) — a common starting point for small datasets. Too few bins hide the shape; too many create noise.

Reading a Histogram

  • Symmetric (bell-shaped): mean ≈ median ≈ mode
  • Right-skewed: tail extends to the right; mean > median
  • Left-skewed: tail extends to the left; mean < median
  • Bimodal: two peaks — may indicate two subgroups

Curriculum Notes

  • FBISE / CBSE: Histograms in Class 9 and 11 Statistics
  • IGCSE / O Levels: Frequency density histograms (area = frequency)
  • A Levels / IB: Used with normal distribution and grouped data analysis

Enter data and click Generate Histogram

Tips

  • • Separate values with commas, spaces, or new lines.
  • • Leave bins blank to let Sturges' rule choose automatically.
  • • Use Relative Frequency (%) to compare datasets of different sizes.