Add a donut (chart).

b_donut(p, serie, label = list(), expand = TRUE, width = NULL,
  title = "", pad.angle = 0)

Arguments

p

an object of class billboard.

serie

name of serie to plot.

label

label parameters as list.

expand

set to expand on hover.

width

width of donut.

title

donut title

pad.angle

set padding between data.

Examples

library(dplyr) mtcars %>% mutate(model = rownames(.)) %>% slice(1:5) %>% b_board(model) %>% b_donut(mpg)