Fork of Pie Chart
✓ Published0🌍 Public
This fork of a pie chart visualizes 2022 US auto sales by brand, using a dataset loaded from a GitHub gist via the `d3.csv` method. The chart renders as an SVG with colored segments generated by `d3.pie` and `d3.arc`, while a legend lists each brand with its percentage and total sales in thousands. Colors are assigned using `d3.scaleOrdinal`, and numeric formatting relies on `d3.format`. The code explicitly imports functions from D3 v5 and builds the visualization through a custom `getData` async helper.
AI-generated descriptionMIT Licensed