🌍 Public
Viewing a saved revision (read-only)
aae060b77b9d49929ba6bc80ad91388c
Fork of Pie Chart MBB
This pie chart displays 2022 US auto sales by brand, using a color-coded circle with an adjacent legend. The visualization loads CSV data from a GitHub gist via `getData` and renders with D3 v5’s `pie` and `arc` generators. Each slice’s fill uses `scaleOrdinal` with a custom color palette. The legend lists brands with their percentage share and sales volume in thousands, formatted using `format('.4~g')`. The SVG is centered on the page with a title, and all elements are drawn as SVG paths and text.
AI-generated description