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