0
0
Tableaubi_tool~10 mins

Area 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 an area chart by dragging the correct mark type.

Tableau
SET mark_type = '[1]'
Drag options to blanks, or click blank then click option'
ACircle
BBar
CLine
DArea
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'Line' instead of 'Area' results in a line chart, not an area chart.
Selecting 'Bar' or 'Circle' creates different chart types.
2fill in blank
medium

Complete the code to set the X-axis to the 'Date' field for the area chart.

Tableau
SET x_axis = '[1]'
Drag options to blanks, or click blank then click option'
ADate
BSales
CCategory
DProfit
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Sales' or 'Profit' on the X-axis instead of 'Date' can confuse the timeline.
Choosing 'Category' places categorical data on the X-axis, not time.
3fill in blank
hard

Fix the error in the calculation to sum sales for the area chart.

Tableau
SUM([1])
Drag options to blanks, or click blank then click option'
AProfit
BCategory
CSales
DDate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Profit' instead of 'Sales' changes the measure shown.
Using 'Date' or 'Category' inside SUM causes errors.
4fill in blank
hard

Fill both blanks to create a stacked area chart by setting the mark type and color field.

Tableau
SET mark_type = '[1]'
SET color = '[2]'
Drag options to blanks, or click blank then click option'
AArea
BLine
CCategory
DSales
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Line' mark type does not create an area chart.
Coloring by 'Sales' instead of 'Category' does not stack by category.
5fill in blank
hard

Fill all three blanks to create a dual-axis area chart by setting the first measure, second measure, and mark type.

Tableau
SET first_measure = '[1]'
SET second_measure = '[2]'
SET mark_type = '[3]'
Drag options to blanks, or click blank then click option'
ASales
BProfit
CArea
DDate
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Date' as a measure causes errors.
Choosing 'Line' instead of 'Area' changes the chart type.