powered by
C3 Pie Charts
c3_pie(c3, show = TRUE, threshold = NULL, format = NULL, expand = TRUE, ...)
c3 htmlwidget object
boolean show labels
numeric proportion of segment to hide label
character label js function, wrap character or character vector in JS()
boolean expand segment on hover
additional values passed to the pie label object
c3
# NOT RUN { data.frame(red = 20, green = 45, blue = 10) %>% c3() %>% c3_pie() # }
Run the code above in your browser using DataLab