ICE 7 fork
✓ Published0🌍 Public
A donut chart displays 2022 US auto sales by brand, with the total sales volume for each brand represented as a slice of the circle. The visualization uses D3.js version 5, specifically the `pie`, `arc`, and `scaleOrdinal` APIs to calculate slice angles and apply a categorical color palette. Data is loaded asynchronously from a CSV file via `d3.csv`. Each slice’s fill color corresponds to a legend on the right, which lists brand names and their sales figures formatted in thousands with a “K” suffix.
AI-generated descriptionMIT Licensed