0
0
Tableaubi_tool~10 mins

Why marks control visual encoding in Tableau - Test Your Understanding

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

Complete the code to set the mark type to a bar in Tableau.

Tableau
worksheet.markType = '[1]'
Drag options to blanks, or click blank then click option'
Abar
Bcircle
Cline
Dtext
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing 'circle' or 'line' which changes the chart type.
Using 'text' which only shows labels, not bars.
2fill in blank
medium

Complete the code to assign color encoding to the 'Category' field.

Tableau
worksheet.color = '[1]'
Drag options to blanks, or click blank then click option'
ASales
BCategory
CProfit
DRegion
Attempts:
3 left
💡 Hint
Common Mistakes
Using numeric fields like 'Sales' or 'Profit' for color encoding without aggregation.
Choosing 'Region' if the question specifies 'Category'.
3fill in blank
hard

Fix the error in the code to correctly set size encoding to 'Sales'.

Tableau
worksheet.size = '[1]'
Drag options to blanks, or click blank then click option'
A'Sales'
BSales
Csales
D"Sales"
Attempts:
3 left
💡 Hint
Common Mistakes
Passing Sales without quotes causes a reference error.
Using lowercase 'sales' when the field is case-sensitive.
4fill in blank
hard

Fill both blanks to set the mark type to 'circle' and assign 'Profit' to size encoding.

Tableau
worksheet.markType = '[1]'
worksheet.size = '[2]'
Drag options to blanks, or click blank then click option'
Acircle
Bbar
CProfit
DSales
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up 'bar' and 'circle' for mark type.
Assigning 'Sales' instead of 'Profit' for size.
5fill in blank
hard

Fill all three blanks to set mark type to 'line', assign 'Region' to color, and 'Sales' to size encoding.

Tableau
worksheet.markType = '[1]'
worksheet.color = '[2]'
worksheet.size = '[3]'
Drag options to blanks, or click blank then click option'
Abar
BRegion
CSales
Dline
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'bar' instead of 'line' for mark type.
Swapping 'Region' and 'Sales' in color and size.