🌍 Public
Viewing a saved revision (read-only)
f1ecd1f4349e4d0f9077bfa8bb3cf77f
ICE - 7 Pie Chart
This pie chart visualizes 2022 US auto sales by brand, displaying each brand’s year-to-date sales as a proportional slice with a color-coded legend that also lists the percentage and sales volume in thousands. The chart is built using D3 v5, with the `d3.pie` and `d3.arc` functions generating the segments from data loaded via a custom `getData` helper. Colors are assigned using `d3.scaleOrdinal`, and the legend is constructed manually with SVG `<rect>` and `<text>` elements. The visualization renders as static SVG, with a simple title and centered layout.
AI-generated description