Was this page helpful?
Yes No

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

Color:

Dimension

Angle:

Measure

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

  1. Connect to the Sample - Superstore data source.

  2. Drag the Sales measure to Columns.

    Tableau aggregates the measure as a sum.

  3. Drag the Sub-Category dimension to Rows.

    The default chart type is a bar chart.

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

    The result is a rather small pie:

  5. To make the chart bigger, hold down Ctrl + Shift (hold down ñ + z on a Mac) and press B several times.

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

     

  7. 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 visualization. For more information, see Pie mark.

Check your work! Watch steps 1-7 below: