Pie Chart
✓ Published0🌍 Public
This pie chart visualizes 2022 US auto sales by brand, showing each manufacturer's market share as a proportion of total sales. The chart uses D3 v5’s `pie` and `arc` generators to compute segment angles and render SVG paths, with a categorical color scale via `scaleOrdinal`. Sales percentages and totals are computed from a CSV dataset loaded using `d3.csv` from a Gist, and a legend displays brand names, percentage values, and sales in thousands. The visualization is rendered entirely as SVG, with labels positioned manually.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed