Bar Charts Package >

BarChart

As of Version 7.0, BarChart is part of the built-in Mathematica kernel.

generates a bar chart of the values .

generates a bar chart of the data in the lists.
  • has the same options as Graphics with the following additions:
BarStyleAutomaticstyle for the bars
BarSpacingAutomaticratio of bar width to space bars in a group
BarGroupSpacingAutomaticspacing between groups of bars
BarLabelsAutomaticlabels at tick marks for each bar (or group)
BarValuesFalsewhether to show the length of each bar
BarEdgesTruewhether edges are drawn around each bar
BarEdgeStyleOpacity[0.5]style for the bar edges
BarOrientationVerticaldetermines horizontal or vertical orientation
  • Each is a list of numbers or numeric values. For example: .
  • The need not have the same length.
Chart a list of values:
Chart several sets of values:
The sets need not have the same length:
Needs["BarCharts`"]
Chart a list of values:
In[2]:=
Click for copyable input
Out[2]=
Chart several sets of values:
In[3]:=
Click for copyable input
Out[3]=
The sets need not have the same length:
In[4]:=
Click for copyable input
Out[4]=
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF