powered by
Create simple Donut charts
c3_donut(c3, expand = TRUE, title = NULL, width = NULL, show = TRUE, threshold = NULL, format = NULL, ...)
c3 htmlwidget object
boolean expand segment on hover
character
integer pixels width of donut
boolean show labels
numeric proportion of segment to hide label
character label js function, wrap character or character vector in JS()
additional values passed to the donut label object
c3
# NOT RUN { data.frame(red=20,green=45,blue=10) %>% c3() %>% c3_donut(title = 'Colors') # }
Run the code above in your browser using DataLab