Fork of ICE7
✓ Published2🌍 Public
This pie chart displays the top 10 car-producing countries in 2019, with each slice sized by total production value and labeled in a legend showing country names and quantities in thousands. The visualization uses D3 v5’s `pie()` and `arc()` generators to compute and draw the SVG paths, with `scaleOrdinal()` assigning a distinct color to each segment. Data is loaded asynchronously from a CSV hosted on GitHub Gist via `d3.csv`, and the legend is manually constructed with appended circles and text elements, with values formatted using `format()`.
AI-generated descriptionMIT Licensed