Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Aamiralitah
Last edited Jul 1, 2022
Created on Jul 1, 2022
Forked from Pie Chart

This fork of a pie chart displays 2022 US auto sales by brand, sourced from a gist-hosted CSV file, with each brand's market share represented as a colored slice. The chart uses D3 v5 APIs `d3.select`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate SVG paths, while a hand-built legend shows the brand name, its percentage of total sales, and sales value in thousands. The accompanying D3 code loads the CSV via `d3.csv` and computes totals to format the percentage and value labels.

AI-generated description
MIT Licensed

Similar vizzes