BarChart

BarChart[{y1,y2,}]

makes a bar chart with bar lengths y1, y2, .

BarChart[{,wi[yi,],,wj[yj,],}]

makes a bar chart with bar features defined by the symbolic wrappers wk.

BarChart[{data1,data2,}]

makes a bar chart from multiple datasets datai.

Details and Options

Examples

open allclose all

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]=

Scope  (39)

Options  (80)

Applications  (11)

Properties & Relations  (6)

Neat Examples  (3)

See Also

Histogram  BarChart3D  PairedBarChart  PieChart  RectangleChart  SectorChart  BubbleChart  ListPlot  ListLinePlot  ListLogPlot

Introduced in 2008
(7.0)
| Updated in 2017
(11.1)