Fork of Fork of Pie Chart
✓ Published0🌍 Public
This pie chart visualizes 2022 U.S. auto sales by brand, using data loaded from a CSV file. The chart displays proportional slices colored with a custom ordinal scale, alongside a legend showing each brand’s name, percentage of total sales, and sales volume in thousands. The visualization is built with D3 v5, using its `pie`, `arc`, `scaleOrdinal`, and `select` APIs to render SVG paths and text. Data is fetched asynchronously via a `csv` import and processed to compute totals before rendering.
AI-generated descriptionMIT Licensed