Creating a Pie chart

Just like bar charts, pie charts too are very widely used. They are typically used to show relative proportions or percentage distributions, and the size of the slice indicates the contribution to the total value.

The pie chart in Tableau uses the Pie mark type.

Getting ready

In the following recipe, we will create a Pie chart to show the sales across different customer segments. We can create a Pie chart by selecting the necessary fields from the Dimensions and Measures fields and then selecting the Pie chart option from Show Me!. However, in the following recipe, we will build it manually using the Marks card. Let's see how this can be done.

How to do it…

  1. Create a new sheet and rename it to Pie chart.
  2. Then select Pie mark from ...

Get Tableau Cookbook – Recipes for Data Visualization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.