Fork of ICE 7 Pie Chart
✓ Published1🌍 Public
This pie chart shows the top 10 car-producing countries in 2019, with each slice sized by total production value and a legend listing country names alongside their numerical values. The visualization is built with D3.js v5 and rendered as SVG, using `d3.pie()` and `d3.arc()` to generate the chart geometry, while `d3.scaleOrdinal` assigns a distinct color to each slice. Data is loaded from a CSV via `d3.csv` and processed in the `run` function. The chart is positioned with fixed translation coordinates, and legend circles and text are appended programmatically to the SVG.
AI-generated descriptionMIT Licensed