0
0
Tableaubi_tool~10 mins

Layout containers (horizontal, vertical) 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 horizontal layout container in Tableau.

Tableau
container = dashboard.[1]Container()
Drag options to blanks, or click blank then click option'
AFloating
BVertical
CGrid
DHorizontal
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing Vertical container which stacks items top to bottom.
Using Grid which is for tables, not layout containers.
2fill in blank
medium

Complete the code to add a vertical container to the dashboard.

Tableau
dashboard.add([1]Container())
Drag options to blanks, or click blank then click option'
AHorizontal
BVertical
CFloating
DGrid
Attempts:
3 left
💡 Hint
Common Mistakes
Using Horizontal container which arranges items side by side.
Using Floating which allows free placement, not stacking.
3fill in blank
hard

Fix the error in the code to correctly create a vertical container.

Tableau
container = dashboard.[1]Container()
Drag options to blanks, or click blank then click option'
AVertical
Bvertical
CVERTICAL
DVert
Attempts:
3 left
💡 Hint
Common Mistakes
Using lowercase which causes attribute errors.
Using abbreviations like 'Vert' which are not valid class names.
4fill in blank
hard

Fill both blanks to create a horizontal container and add a vertical container inside it.

Tableau
h_container = dashboard.[1]Container()
v_container = h_container.add_[2]Container()
Drag options to blanks, or click blank then click option'
AHorizontal
BVertical
CFloating
DGrid
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up the container types and their order.
Using Floating or Grid which are not layout containers.
5fill in blank
hard

Fill all three blanks to add a vertical container inside a horizontal container and then add a floating container inside the vertical container.

Tableau
h_container = dashboard.[1]Container()
v_container = h_container.add_[2]Container()
f_container = v_container.add_[3]Container()
Drag options to blanks, or click blank then click option'
AHorizontal
BVertical
CFloating
DGrid
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect method names like add_HorizontalContainer instead of add_VerticalContainer.
Mixing container types or incorrect capitalization.