Pie Chart
✓ Published0🌍 Public
A pie chart displays GDP per capita for ten countries from a CSV file, with color-coded slices and a legend showing country names and GDP values in billions. Built with D3 v5, the visualization uses `d3.pie()` and `d3.arc()` to generate SVG paths, `d3.scaleOrdinal` for color mapping, and `d3.format` for numeric labels. The data is loaded asynchronously via `d3.csv` from a gist URL, and the legend is manually positioned with rect and text elements.
AI-generated descriptionMIT Licensed