Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from Pie Chart

This donut chart displays 2022 US auto sales by brand, using a 2021 car prices dataset loaded from a GitHub gist via the `csv` function. The chart is rendered as an SVG using `d3.pie` and `d3.arc`, with color encoding via `scaleOrdinal` and a custom legend showing each brand’s percentage of total sales and absolute sales in thousands. Data is aggregated by summing the `YTD` field, and text is formatted with `format`.

AI-generated description
MIT Licensed

Similar vizzes