Skip to main content
100%

Pie chart ICE 7

✓ Published1🌍 Public
Kkakumanusreya
Last edited Mar 28, 2023
Created on Mar 28, 2023
Forked from Pie Chart

This pie chart visualizes 2022 U.S. auto sales by brand, with each slice representing a brand’s year-to-date sales. A legend on the right shows the brand name, its percentage of total sales, and the raw sales volume in thousands. The example loads CSV data from a GitHub gist using `d3.csv`, then uses `d3.pie` and `d3.arc` to generate the slices. Colors are assigned via `d3.scaleOrdinal`, and the SVG is rendered with a fixed width and height.

AI-generated description
MIT Licensed

Similar vizzes