Skip to main content
100%

Fork of Pie Chart

✓ Published2🌍 Public
Yyaswanthsen
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from Pie Chart

This chart displays 2022 US auto sales by brand as a pie chart, with each slice sized by year-to-date sales and accompanied by a legend showing the brand name, percentage of total sales, and sales volume in thousands. The visualization uses D3 v5’s `pie` and `arc` generators to compute and draw the segments as SVG paths, while `scaleOrdinal` assigns a fixed color palette to the data values. Data is loaded asynchronously via `csv` from a Gist URL, and `format` is used to abbreviate the numeric labels.

AI-generated description
MIT Licensed

Similar vizzes