Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Tableau pie chart


May 26, 2021 Tableau


Table of contents


Pie charts represent data as slices of circles of different sizes and colors. /b10> The slices are marked, and the numbers corresponding to each slice are also represented in the chart. /b11> We can select the pie chart option from the markup card to create a pie chart.

Simple pie chart

We can select a dimension and a measure to create a simple pie chart. /b10> In our example, we named the dimension profit after a measure called profit. /b11> Remove the area dimensions from the color and label marks. /b12> Reduce the profit measure to a size marker. /b13> Select the chart type to be a pie chart. /b14> Displays the chart below, showing 4 areas of different colors.

Tableau pie chart

Under the drill pie chart

We can select dimensions with hierarchies, and as we go deeper into the hierarchy, the chart changes to reflect the level of dimensions selected. /b10> In the following example, we have two levels of dimension subcategories - manufacturer and product name. /b11> We put the measured profit on the "label" mark. /b12> The pie chart below is displayed, showing the value of each slice.

Tableau pie chart

Further into the hierarchy, we get the manufacturer as the label, and the pie chart above changes as shown below.

Tableau pie chart