🌍 Public
Viewing a saved revision (read-only)
d80552556fec4068b3beb9605c4a9ef5
ICE 7 fork
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 description