Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Pie Chart

Public visualization

Fork of Fork of Fork of Pie Chart

0 stars1🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This pie chart displays 2022 US auto sales by brand, showing each brand’s share as a percentage and raw sales in thousands. The visualization uses a static SVG rendered with D3 v5, where slices are generated via `d3.pie` and `d3.arc`, with colors assigned using `d3.scaleOrdinal`. Legends are manually appended, listing each brand, its percentage, and sales volume. Data is loaded asynchronously from a CSV file hosted in a GitHub gist using `d3.csv`, with numeric sales values parsed before rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed