Pie Chart
A pie chart component that by default displays the counts of all categories from a chosen variable.
Options
- data |
object (required)
: object of value arrays. Default:none
. - variable |
(string|Factor) (required)
: variable to display. Default:none
. - group |
(string|Factor)
: grouping variable. Default:none
. - summaryVariable |
string
: optional variable whose sum to display for eachvariable
category. Default:none
.
Examples
- Minimal
- Grouped
- Summary Variable
Live Editor
Result
ReferenceError: Provider is not defined