Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 DV Pie Chart Car Sales

Public visualization

Viewing a saved revision (read-only)

034877d136a9463f8e9ec3c34fbaf48e

ICE-7 DV Pie Chart Car Sales

0 stars1🌍 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