my_treemap | R Documentation |
My Treemap plot
my_treemap(test, ...)
test |
a three-columns dataframe with hierarchical structure |
... |
look for parameters in |
htmlwidget
data(otutab)
cbind(taxonomy, num = rowSums(otutab))[1:10, c(4, 7, 8)] -> test
if (requireNamespace("treemap")) {
my_treemap(test)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.