Skip to main content

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 each variable category. Default: none.

Examples

Live Editor
Result
ReferenceError: Provider is not defined