Skip to main content
100%

Fork of Pie Chart

✓ Published2🌍 Public
BBajiSharifPatan@my.unt.edu
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from Pie Chart

This D3.js v5 visualization displays 2022 US auto sales by brand as a pie chart, using a color-coded palette for each brand’s year-to-date sales. The SVG chart plots the pie in the center with a legend to the right, showing brand names and values in thousands. The code loads data from a CSV via `d3.csv`, computes arc segments with `d3.pie` and `d3.arc`, and applies ordinal colors through `d3.scaleOrdinal`. Text formatting uses `d3.format` for compact numeric labels.

AI-generated description
MIT Licensed

Similar vizzes