Pie chart Test
✓ Published3🌍 Public
A pie chart displays the relative populations of ten countries, with each slice labeled by country name. The chart is rendered as an SVG using D3 v6, with slices generated by `d3.pie()` and drawn via `d3.arc()` paths. Colors are assigned from an ordinal scale, and labels are positioned using the `label.centroid()` method. The data comes from a static array embedded in the script rather than the linked `data.csv` file.
AI-generated descriptionMIT Licensed