Skip to main content
100%

ICE - 7 Pie Chart

✓ Published0🌍 Public
66264kusuma@gmail.com
Last edited Mar 23, 2024
Created on Mar 23, 2024

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
MIT Licensed

Similar vizzes