Pie chart: fields
Shares of a total by category. Open the live example and source.
Encoding fields
| Field | Requirement |
|---|---|
encoding. | Required |
encoding. | Required |
encoding. | Optional |
encoding. | Optional |
Set type: pie. The shared chart contract defines data sources, field meanings, axes, controls, annotations and styling. Unsupported encoding channels are rejected.