# 1 Level - Different tabgroup names create separate tabs
create_viz() %>%
add_viz(type = "bar", x_var = "age", tabgroup = "age") %>%
add_viz(type = "bar", x_var = "education", tabgroup = "education") %>%
add_viz(type = "bar", x_var = "region", tabgroup = "region")
# 2 Levels - Use "/" to create parent > child hierarchy
create_viz() %>%
add_viz(type = "bar", x_var = "age", tabgroup = "satisfaction/by_age") %>%
add_viz(type = "bar", x_var = "education", tabgroup = "satisfaction/by_education")
# 3 Levels - Add more "/" for deeper nesting
create_viz() %>%
add_viz(type = "bar", x_var = "age", tabgroup = "survey/satisfaction/age") %>%
add_viz(type = "bar", x_var = "education", tabgroup = "survey/demographics/education")