c3_pie: Pie Charts

Description Usage Arguments Value Examples

View source: R/plots.R

Description

C3 Pie Charts

Usage

1
2
c3_pie(c3, show = TRUE, threshold = NULL, format = NULL,
  expand = TRUE, ...)

Arguments

c3

c3 htmlwidget object

show

boolean show labels

threshold

numeric proportion of segment to hide label

format

character label js function, wrap character or character vector in JS()

expand

boolean expand segment on hover

...

additional values passed to the pie label object

Value

c3

Examples

1
2
3
data.frame(red = 20, green = 45, blue = 10) %>%
  c3() %>%
  c3_pie()

c3 documentation built on March 16, 2020, 5:07 p.m.

Related to c3_pie in c3...