🌍 Public
Viewing a saved revision (read-only)
5ae03573b7834a5a88aa33c5812f09c2
D3 Shapes - Pi Charts
This example shows how to create a simple donut chart using D3’s arc generator. Five arc segments with varying start and end angles are rendered as SVG paths inside a single group, all filled with solid orange. The code configures the arcs with inner and outer radii, padding, and rounded corners via `d3.arc()`, then binds the data array to path elements using `.join()`. The visualization relies on D3 v7 and static SVG output, with no interaction or animation.
AI-generated description