Skip to main content
100%

Fork of Fork of Pie Chart

✓ Published0🌍 Public
RRahulSai05
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Fork of Pie Chart

A pie chart displays 2022 US auto sales by brand, with each slice sized by YTD sales and a color-coded legend listing brand names and sales values in thousands. The visualization loads CSV data from a GitHub gist using d3.csv, then constructs the chart with d3.pie, d3.arc, and d3.scaleOrdinal, rendering SVG paths and legend elements via d3-selection. The code uses D3 v5 with an async data-loading pattern and custom tick formatting for sales figures.

AI-generated description
MIT Licensed

Similar vizzes