🌍 Public
Viewing a saved revision (read-only)
e2ec0fd4e9db4c15a013c40c1c6db7a6
Fork of Fork of Pie Chart
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 description