BarChart

BarChart[{y1,y2,}]
makes a bar chart with bar lengths , , .

BarChart[{,wi[yi,],,wj[yj,],}]
makes a bar chart with bar features defined by the symbolic wrappers .

BarChart[{data1,data2,}]
makes a bar chart from multiple datasets .

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Generate a bar chart for a list of heights:

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

Chart several datasets:

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

Use categorical labels:

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

Categorical legends:

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

Set the style for bars:

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

Pictorial bars:

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

Procedural bars:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2008
(7.0)
| Updated in 2014
(10.0)