bb_radar | R Documentation |
Radar property for a Billboard.js chart
bb_radar(bb, ...)
bb |
A |
... |
See https://naver.github.io/billboard.js/release/latest/doc/Options.html#.radar |
A billboard
htmlwidget
object.
library("billboarder")
data("avengers")
# number of levels
billboarder() %>%
bb_radarchart(
data = avengers,
mapping = bbaes(x = axis, y = value, group = group)
) %>%
bb_radar(level = list(depth = 4))
# hide levels
billboarder() %>%
bb_radarchart(
data = avengers,
mapping = bbaes(x = axis, y = value, group = group)
) %>%
bb_radar(level = list(show = FALSE))
# max value on axis
billboarder() %>%
bb_radarchart(
data = avengers,
mapping = bbaes(x = axis, y = value, group = group)
) %>%
bb_radar(axis = list(max = 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.