Pie chart — full circular slices for part-to-whole relationships.
Similar to Donut but with no hollow center. Use Donut when you need to
display a summary metric in the center.
A single slice in a pie chart, identified by a label and a numeric value.
{ label = "US East", value = 35 }Create a pie chart from a list of slices.
chart =
Pie.fromData
[ { label = "Running", value = 42 }
, { label = "Stopped", value = 8 }
, { label = "Pending", value = 5 }
]Override the slice color list.
Show a skeleton placeholder instead of the chart while data is loading.
Enable SVG <title> tooltips on each slice. Default: False.
When enabled, hovering over a slice shows a browser-native tooltip with the
label, value, and percentage (e.g. "Running: 42 (76%)"). No ports required.
An opaque pie chart configuration.