Build a Pie Chart

Use pie charts to show proportions of a whole.

The basic building blocks for a pie chart are as follows:

Mark type:

Pie

Colour:

Dimension

Angle:

Measure

To create a pie chart view that shows how different product categories contribute to total sales, follow the steps below:

Step 1:

Connect to the Sample - Superstore data source.

Step 2:

Drag the Sales measure to Columns and drag the Sub-Category dimension to Rows.

Tableau aggregates the Sales measure as a sum.

Also note that the default chart type is a bar chart.

Step 3:

Click Show Me on the toolbar, then select the pie chart type.

Step 4.

The result is a rather small pie. To make the chart bigger, hold down Ctrl + Shift (hold down ñ + z on a Mac) and press B several times.

Step 5:

To add labels, drag the Sub-Category dimension from the Data pane to Label on the Marks card.

Step 6:

If you don't see labels, press Ctrl + Shift + B (press ñ + z + B on a Mac) to make sure most of the individual labels are visible.

You can make a pie chart interactive in a dashboard. For more information, see Actions and Dashboards.

Note: Pie charts can also be used as a mark type in a visualisation. For more information, see Pie mark.

Check your work! Watch steps 1-7 below:

Thanks for your feedback! There was an error submitting your feedback. Try again or send us a message.