Skip to main content
100%

ICE-7 DV Pie Chart Car Sales

✓ Published1🌍 Public
MMounikadontireddy
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Pie Chart 11590101

This pie chart displays 2022 US auto sales by brand, showing each manufacturer’s market share as a percentage and total units sold in thousands. The visualization uses D3 v5’s `pie` and `arc` generators to compute and draw SVG path segments, with `scaleOrdinal` assigning categorical colors. A legend on the right lists each brand with its percentage and sales volume, formatted via `d3.format`. Data is loaded asynchronously from a CSV gist using `d3.csv`, and the chart is rendered with SVG elements in a blank 960×450 canvas.

AI-generated description
MIT Licensed

Similar vizzes