Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie Chart

Public visualization

Fork of Fork of Pie Chart

0 stars1🌍 Public
NNaimisha-M
Last edited Jul 2, 2022
Created on Jul 2, 2022
Forked from Fork of Pie Chart

A pie chart displays 2022 US auto sales by brand, with each slice sized by year-to-date sales and a legend showing brand names, percentage of total sales, and sales figures in thousands. The visualization loads CSV data from a GitHub gist using `d3.csv` and renders with `d3.pie` and `d3.arc`, applying a fixed color scale via `d3.scaleOrdinal`. Labels are formatted with `d3.format`, and the SVG is generated entirely in the browser.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed