PieChart

PieChart[{y1, y2, ...}]
makes a pie chart with sector angle proportional to , , ... .

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

PieChart[{data1, data2, ...}]
makes a pie chart from multiple datasets .

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples (5)Basic Examples (5)

Generate a pie chart for a list of values:

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

Generate a donut chart for a list of values:

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

Generate a pie chart for multiple 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 sectors:

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

Use procedural sectors:

In[2]:=
Click for copyable input
Out[2]=
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »