Histogram

As of Version 7.0, Histogram is part of the built-in Wolfram Language kernel.

Histogram[{x1,x2,}]
generates a histogram of the univariate data {x1,x2,}.

Histogram[{f1,f2,},FrequencyData->True]
generates a histogram of the univariate frequency data {f1,f2,}, where fi is the frequency with which the original data occurs in category i.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

In[1]:=
Click for copyable input

Histogram of 1000 normally distributed random numbers:

In[2]:=
Click for copyable input
Out[2]=

Histogram of 1000 uniformly distributed random numbers:

In[1]:=
Click for copyable input
Out[1]=

Histogram from a list of frequencies:

In[1]:=
Click for copyable input
Out[1]=