Creating a Simple Pie Chart in Tableau
To create a pie chart in Tableau:
- Hold down
Ctrl
and select both a dimension and a measure; for example, if you're using the Superstore dataset, select theCategory
dimension and theSales
measure. - Select
Show Me
, and then choose the pie chart. - To make the pie chart bigger, use the drop-down in the ribbon to select
Entire View
. - To give the pie chart labels, drag the dimension and measure you originally selected to the
Label
mark.
To convert the numbers to percentages of the whole:
- in the "Marks" section, select the labeled measure and choose
Quick Table Calculation > Percent of Total
. - To simplify the percentages, select the labeled measure again and choose
Format
. Under "Default", from the "Numbers" drop-down, selectPercentage
and then set the decimal places to 0.
To display the original totals along with the percentages:
- Drag the original measure to the
Label
mark. - To change the order or formatting of the labels, select the
Label
mark, and then choose the three dots (...
) to begin editing the labels.