Pie Chart
Unovis uses VisDonut for both pie and donut charts. Set arc-width="0" to fill the center and render a pie. Pie charts work best with a small number of categories and a visible legend.
Default
Place the pie inside VisSingleContainer. Pass Donut to ChartTooltip.targets to connect each slice to the themed tooltip automatically.
Rounded segments
Padding and corner radius create clearer separation when the chart has only a few substantial slices. Avoid large gaps when values are small because spacing can visually distort the proportions.
Half pie
Set angleRange to render a semicircle when vertical space is limited. This shape is useful for compact status summaries, but it offers less area for labels and interactions.
Use a bar chart when precise comparisons matter more than part-to-whole shape, or when the data contains many small categories.