Helper for creating a donut chart
Helper for creating a donut chart
bb_donutchart(bb, data, mapping = NULL, ...)
bb |
A |
data |
A |
mapping |
Mapping of variables on the chart, see |
... |
Arguments for slot donut, https://naver.github.io/billboard.js/release/latest/doc/Options.html#.donut. |
A billboard
htmlwidget
object.
This function can be used with billboarderProxy
in shiny application.
## Not run: stars <- data.frame( package = c("billboarder", "ggiraph", "officer", "shinyWidgets", "visNetwork"), stars = c(9, 177, 43, 44, 169) ) billboarder() %>% bb_donutchart(data = stars, title = "Stars") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.