default_opts_treemap <- function(){
list(
#treemap
treemap_layout = "squarified", # one of: stripes, squarified, strip, slice and dice (NULL)
treemap_direction = "vertical", # horizontal
treemap_borderWidth_levelOne = 3,
treemap_borderColor_levelOne = "#ccccccc",
treemap_dataLabels_levelTwo = TRUE,
treemap_dataLabels_levelOne = TRUE
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.