Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 fork

Public visualization

ICE 7 fork

0 stars0🌍 Public
SSnigdha6698
Last edited Mar 24, 2022
Created on Mar 24, 2022
Forked from Pie Chart

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

Comments

Sign in to join the discussion.

MIT Licensed