The arc kind (spec/04 §4.10), copied from visualize's Visualize.Chart.Mark.Generic
arc: a pie's, a donut's or a sunburst's slice.
| Channel | Role, family | Types | |
|---|---|---|---|
value | share | number | req unless start and end |
start, end | angle | number | each requires the other |
inner, outer | radius, r | number | |
series | series | category, text, number |
Options: inner_radius (0), outer_radius (R = min(w, h) / 2), corner_radius
(0), pad_angle (0), start_angle (0), end_angle (2π). Parts: fill,
stroke. Paint: fill. Not bent; about the model's center (translated there outside
polar). With value: Macaw.Draw.Shape.Pie over the values with the angle options, then
one path per row through Macaw.Draw.Shape.Arc. With start and end: no pie, one arc
per row on its own angles (read through angle when declared, raw radians otherwise).
inner and outer replace the radius options per row. Anchor: the centroid; extent: the
arc length at the label's radius. Budget: w. Summary: "pie chart", "donut chart" with an
inner radius or an inner other than the constant 0, "sunburst" over a partition.