askvity

How to add in a pie chart in Tableau?

Published in Tableau Pie Chart 2 mins read

You can easily add a pie chart in Tableau by following a few simple steps using the Marks card. This visualization type is effective for showing parts of a whole.

Creating a pie chart involves configuring the appearance and data mapping on the Marks card. Here are the steps based on the provided information:

Steps to Create a Pie Chart in Tableau

Follow these instructions to build your pie chart:

  1. In the Marks card, locate the drop-down menu (which defaults to "Automatic") and select Pie. This changes the available options on the card to those relevant for pie charts.
  2. Drag your measure field, specifically Measure Values, to the Size option on the Marks card. This determines the slice size based on the numerical value of the measure.
  3. Drag your dimension field representing the categories, specifically Measure Names, to the Color option on the Marks card. This assigns a unique color to each slice of the pie, representing different measures or categories.
  4. Right-click on Measure Values or Measure Names on the Marks card and select Edit Filter….
  5. In the filter dialog box, select the measures you would like to include in your pie chart. This allows you to control which specific values or categories are represented as slices.

By following these steps, Tableau will generate a pie chart visualizing the filtered measures, where each measure's value determines the size of its corresponding slice, and each slice is colored based on the measure name.

Related Articles