Fork of Pie Chart
✓ Published0🌍 Public
This fork of a pie chart visualizes 2022 US auto sales by brand, displaying each brand’s sales count and percentage alongside its colored slice. The chart loads CSV data from a GitHub gist using `d3.csv`, computes total sales, and renders slices with `d3.pie` and `d3.arc`. Legends are drawn as SVG groups, with colors assigned via `d3.scaleOrdinal` and labels formatted using `d3.format`, all within a static SVG canvas.
AI-generated descriptionMIT Licensed