PieChart ICE7
✓ Published1🌍 Public
This pie chart displays the top 10 car-producing countries in 2019, showing each country’s total vehicle output as a proportional slice with a color-coded legend. The chart uses D3 v5’s `pie` and `arc` generators to compute angles and render SVG paths, while `scaleOrdinal` assigns colors. Data is loaded as CSV from a GitHub gist via `d3.csv`, and each country’s value is read from the ’2019’ column, with totals formatted in thousands. The legend pairs circles and text labels with the corresponding values.
AI-generated descriptionMIT Licensed