Graphs · Distribution

Histogram

Distribution of one continuous variable as a histogram.

In the menus Graphs › Distribution › Histogram

Also searched as histogram frequency histogram distribution plot distribution chart

When to use it

You want to see the shape, center, and spread of one numeric variable.

When not to: The variable is categorical rather than continuous (use a bar chart instead), you need a formal statistical test of normality rather than a visual impression (use a dedicated normality test), or you want to compare the same variable's distribution across several groups side by side (a boxplot is more compact for that purpose).

Step by step

  1. Open it from the menu

    Click Graphs in the menu bar; under Distribution choose Histogram.

  2. Fill in the form

    Choose the columns: Column to plot. The form lists only columns whose type fits each field.

  3. Check the options

    The options start at their defaults: Number of bars, Smooth curve on top. Change one only when your question needs it.

  4. Run the analysis

    Press Run analysis. The Result Card opens on its Results tab.

What to choose in the form

Fields of the Histogram form
Column to plot X requiredOne numeric column. A number column. The bars show how many rows fall in each range of values.
Number of bars BinsHow many equal-width bars to draw, from 2 to 1000. Type 0 to let KernelStats choose. Not sure? Keep 0. KernelStats picks the number of bars from the data; type a number from 2 to 1000 to choose your own.
Smooth curve on top Density overlayDraws a smooth curve over the bars (a kernel density estimate) to show the overall shape. Not sure? Keep it off. The bars alone show the shape.

How to read the card

The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.

A worked example

A histogram of penguin body mass across all 342 birds, with automatic bin selection (bins = 0).

Result: The distribution shows two distinct humps rather than one smooth bell shape, with peaks around 3700g and 5000g.

A bimodal shape like this is a strong visual clue that the sample actually mixes two (or more) separate populations (in this case, driven by species differences in typical body size), and analyzing body mass without accounting for species would likely violate the normality assumption of a subsequent parametric test run on the pooled data.

From the Statistics Library.

The code tabs

Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.

Understand the statistics

Ask Oobi

Type one of these into Ask Oobi beside your data:

  • What does the distribution of patient ages look like?
  • Explain the histogram in plain words.
  • What does residual mean?

Last reviewed November 16, 2026.

Report an unclear step