library("billboarder")
data("mpg", package = "ggplot2")
billboarder() %>%
bb_treemapchart(mpg[, 1])
billboarder() %>%
bb_treemapchart(
data = mpg,
mapping = aes(x = manufacturer),
label = list(show = TRUE, threshold = 0.3)
) %>%
bb_data(
labels = list(colors = "#FFF")
)
Run the code above in your browser using DataLab