Histogram Maker

Figran

A histogram maker for raw observations or frequency tables, with shared bin boundaries for comparing groups.

  • Compare groups or enter a frequency table
  • Review exact bin boundaries
  • Free SVG and 300 DPI PNG
Group layout
Options

Histogram preview

0102030setosa0102030versicolor0102030virginica45678Iris sepal length by speciesSepal length (cm)Frequency

Bins table

LowerUppersetosaversicolorvirginicaTotal frequencyTotal relative frequencyTotal densityClosure
44.540040.02670.0533[left,right)
4.551611180.120.24[left,right)
55.52550300.20.4[left,right)
5.565206310.2070.413[left,right)
66.501517320.2130.427[left,right)
6.570814220.1470.293[left,right)
77.501670.04670.0933[left,right)
7.5800660.040.08[left,right]

Summary statistics

Statisticsetosaversicolorvirginica
n505050
Mean5.015.946.59
Median55.96.5
SD (sample)0.3520.5160.636
Min4.34.94.9
Max5.877.9
Skewness (G1)0.120.1050.118
Excess kurtosis (G2)-0.253-0.5330.0329

Histogram examples: real data and frequency tables

01530setosa01530versicolor01530virginica45678Iris sepal length by speciesSepal length (cm)Frequency

Iris sepal length by species

Compare sepal lengths across three iris species (150 samples).

Source: R datasets: iris

0204060802345Old Faithful eruption durationDuration (min)Frequency

Old Faithful eruption duration

See two clusters in 272 Old Faithful eruption durations.

Source: R datasets: faithful

051015101520253035Motor Trend fuel economyMiles per gallonFrequency

Motor Trend fuel economy

Compare fuel economy across 32 car models.

Source: R datasets: mtcars

010203040050100150New York ozone readings (complete cases)Ozone (ppb)Frequency

New York ozone readings (complete cases)

Explore 116 non-missing New York ozone readings.

Source: R datasets: airquality

050100150123456Old Faithful frequency tableDuration (min)Frequency

Old Faithful frequency table

Inspect 272 eruptions in one-minute frequency intervals.

Source: R datasets: faithful

00.010.020.030.0420406080Black cherry tree volumeVolume (cubic feet)Density

Black cherry tree volume

Compare 31 black cherry trees using unequal-width bins.

Source: R datasets: trees

How to make a histogram

  1. 1Enter your data

    Paste numeric columns or upload a file. To make a histogram from a frequency table, switch to Frequency table and supply contiguous lower, upper and count columns, including zero-count intervals.

  2. 2Choose bin boundaries

    For a frequency histogram, choose a bin rule or Custom edges, then review the counts. Use the same boundaries when comparing groups.

  3. 3Download your histogram

    Save an SVG or 300 DPI PNG, and export the bins as CSV.

How to read a histogram: choosing the number of bins

The same 272 Old Faithful eruptions, shown from 1 to 6 minutes with different bin counts. Each plot uses its own frequency scale.

0204060802345Sturges (automatic)Eruption duration (min)Frequency

Sturges (automatic)

Sturges gives a starting count; boundaries are rounded to convenient values.

050100150123456Freedman–Diaconis (5 bins)Eruption duration (min)Frequency

Freedman–Diaconis (5 bins)

The interquartile-range rule suggests five bins for these data.

050100150200246Too few bins (2)Eruption duration (min)Frequency

Too few bins (2)

Two wide bins can conceal detail within each group of observations.

010203040123456Too many bins (25)Eruption duration (min)Frequency

Too many bins (25)

Narrow bins can emphasize small fluctuations as well as structure.

Adjacent bars represent numerical intervals. Choose Relative frequency under Bar height to make a relative frequency histogram: heights show proportions rather than counts. For unequal widths, choose Density so each bar’s area equals its relative frequency.

Data source: Old Faithful (R datasets).

Histogram FAQ

Can I make a histogram with categorical data?

No. A histogram groups numerical observations into adjacent intervals; use a bar chart to compare categories.

Can this histogram graph maker use a frequency table?

Yes. Enter contiguous lower, upper and count columns, including zero-count intervals.

How should I choose bins?

Freedman–Diaconis is a starting point. Compare bin counts, widths or explicit edges appropriate to your data and report the boundaries.

Can I set class boundaries in the histogram maker?

Yes. Choose Custom edges under Bin boundaries. Bins include the left edge and exclude the right edge, except the last bin includes both edges.

How are missing values handled?

In group columns, blank cells are skipped. In single-column data, empty or invalid cells are reported.

How do I make a density histogram for unequal bin widths?

Choose Density under Bar height. Density is count divided by total count and bin width; the area of each bar is its relative frequency.

What can I download?

Download an editable SVG, a 300 DPI PNG, or a CSV with exact bin boundaries, counts, proportions, density and closure.

Is my data uploaded?

The histogram is calculated in your browser. A draft may be saved locally on this device.

What should a histogram figure caption include?

Name the variable and units, give the sample size and bin boundaries or bin-selection rule, and say whether bar height shows counts, relative frequency or density. Identify the groups and any fitted normal curve.

Make your histogram

Enter your data, review the bins, and download your histogram.