0
0
Tableaubi_tool~10 mins

Pie charts in Tableau - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to create a pie chart by dragging the correct mark type.

Tableau
Drag the [1] mark type to create a pie chart in Tableau.
Drag options to blanks, or click blank then click option'
ABar
BScatter
CLine
DPie
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Bar or Line mark types instead of Pie.
2fill in blank
medium

Complete the code to add the dimension that defines pie slices.

Tableau
Drag the [1] field to the Color shelf to define pie slices.
Drag options to blanks, or click blank then click option'
ADimension
BMeasure
CCalculated Field
DParameter
Attempts:
3 left
💡 Hint
Common Mistakes
Using a measure instead of a dimension for slices.
3fill in blank
hard

Fix the error in the calculation to show percentage labels on pie slices.

Tableau
Create a calculated field: SUM([Sales]) / [1]
Drag options to blanks, or click blank then click option'
AAVG([Sales])
BSUM([Profit])
CTOTAL(SUM([Sales]))
DCOUNT([Sales])
Attempts:
3 left
💡 Hint
Common Mistakes
Using SUM([Profit]) or AVG([Sales]) instead of total sales.
4fill in blank
hard

Fill both blanks to complete the steps to add labels showing percentage and category.

Tableau
Drag [1] to Label shelf and set label to show [2].
Drag options to blanks, or click blank then click option'
ACalculated Field
BDimension
CPercentage
DMeasure
Attempts:
3 left
💡 Hint
Common Mistakes
Dragging dimension instead of calculated field to Label.
5fill in blank
hard

Fill all three blanks to create a pie chart showing sales by category with percentage labels.

Tableau
1. Drag [1] to Color shelf. 2. Drag [2] to Angle shelf. 3. Create a calculated field [3] = SUM([Sales]) / TOTAL(SUM([Sales])) for labels.
Drag options to blanks, or click blank then click option'
ACategory
BSales
CSales Percentage
DProfit
Attempts:
3 left
💡 Hint
Common Mistakes
Using Profit instead of Sales for angle or labels.