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.
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.
Pie chart
.When we select Pie as a mark from the Marks dropdown, an additional shelf called Angle is available and determines the angular measure of the pie slices/wedges.
In the preceding image, when we place Sales in the angle shelf, the complete 360 degrees circle, representing the total sales, is divided into three slices/wedges, and shows the value for each customer segment.
When we look at the chart, we get to see how much of sales is being contributed by which customer segment, and these segments can be identified by referring to the Color legend.
Thus, in the preceding chart, most sales are contributed by the Consumer segment.
Even though pie charts are widely used, many data visualization experts do not encourage their use. Some of the many reasons are mentioned as follows:
3.144.37.38