A pie chart represents data as slices of a circle with different sizes and colors. The slices are labeled and the numbers corresponding to each slice is also represented in the chart. You can select the pie chart option from the Marks card to create a pie chart.
Step 1: Load the Dataset
Click “New Data Source” to import the dataset into Tableau. Alternatively, you can select “Connect to Data” from the drop-down menu.
Step 2: Construct a Bar Chart
The Dimensions City and Quarter, as well as the measure Sales, are loaded into the appropriate sections on the Sheet tab.
Step 3: Convert a Bar Chart into a Pie Chart
The following step is to change the Bar Chart to a Tableau Pie Chart. To do so, go to Show Me and, under Options, click on the Tableau Pie Chart icon in the Show-Me, as seen in the screenshot below.
Step 4: Increase the Size of the Pie Chart
You’ll make the necessary changes by following the steps outlined above. Dimension City has been put over Color on the Marks card, as can be seen.
Step 5: Drag and Place Dimensions to Label Card
The Marks section will now contain all of the selected Fields. To add labels to the Tableau Pie Chart, drag and drop fields from the Dimensions or Measures section to the Label card.
Step 6: Apply Formatting to the Pie Chart
Tableau also provides a plethora of Tableau Pie Chart formatting possibilities. The Format option allows you to customize the appearance of a Tableau Pie Chart. Right-click on the Tableau Pie Chart and select the Format option.
Step 7: Check the Final Pie Chart
The Tableau Pie Chart depicting the overall Sales of each subcategory or electrical brand is now complete. You can see details specific to each colored section of the pie by hovering your cursor over it.