Histogram Tool

Visualize the distribution of numerical data by grouping values into bins.

Chart Data

Note: What Is a Histogram?

The Basics

A histogram groups continuous numeric data into intervals called bins, then draws a bar for each bin whose height shows how many values fall into it. Unlike a bar chart, the axis underneath a histogram is a real number line, and the bins are adjacent with no gaps, because the underlying data is continuous rather than categorical.

Histograms reveal the shape of a distribution at a glance: where values cluster, how spread out they are, whether the data is symmetric or skewed, and whether there are outliers or multiple peaks. This makes them a foundational tool in statistics and data analysis.

Common Use Cases
  • Age distribution of a customer base or population sample
  • Test scores or exam results grouped into grade bands
  • Processing times, response latencies, or task durations
  • Household income or price ranges to understand market segments
  • Quality control, such as the distribution of part measurements around a target
Histogram vs Bar Chart

Do not confuse a histogram with a bar chart. A bar chart compares named categories that could be reordered; a histogram plots numeric bins that must stay in order. A bar chart can have gaps between bars, while histogram bars are contiguous. For discrete counts of distinct categories, use a bar chart. For the distribution of a measured, continuous quantity, use a histogram. If you want to compare several distributions side by side, consider box plots or overlaid density curves instead.

How to Use It Well
  • Choose bin width with care; too many bins create noise, too few hide the shape
  • Try a few bin sizes, and consider the square-root rule or Sturges' rule as starting points
  • Keep bars contiguous with no gaps to respect the continuous scale
  • Label the x-axis with bin ranges so readers know the interval boundaries
  • Pair the histogram with summary statistics like mean, median, and standard deviation
  • Watch for bimodal shapes, which often indicate two distinct subpopulations
Fun Facts
  • The word "histogram" was coined by the statistician Karl Pearson in 1891
  • Pearson introduced the term in lectures at University College London
  • Histograms predate computers; early versions were drawn by hand from tally sheets
  • Sturges' rule, one common bin formula, was published in 1926 by Herbert Sturges
  • A histogram with very wide bins can hide a bimodal distribution entirely
  • Histograms are a classic tool of Six Sigma and statistical process control
  • John Tukey, who coined "box plot," also championed exploratory graphics like histograms