bb_treemap | R Documentation |
Treemap property for a Billboard.js chart
bb_treemap(bb, ...)
bb |
A |
... |
See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.treemap |
A billboard
htmlwidget
object.
library("billboarder")
data("mpg", package = "ggplot2")
billboarder() %>%
bb_treemapchart(mpg[, 1]) %>%
bb_treemap(label = list(show = TRUE, threshold = 0.03))%>%
bb_data(
labels = list(colors = "#FFF")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.