hgch_treemap_Cat | R Documentation |
This function creates a horizontal or vertical treemap chart for a categorical variable.
hgch_treemap_Cat(data, ...)
data |
a data frame. |
... |
additional arguments to pass to the |
A highchart object.
data(iris)
iris <- iris |> dplyr::select(Species)
hgch_treemap_Cat(iris, percentage = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.