Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Piechart_7

Public visualization

Piechart_7

0 stars0๐ŸŒ Public
AABCDB15
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Pie Chart

This pie chart displays 2022 US auto sales by brand, with each slice sized by year-to-date sales and a legend identifying brands and their sales in thousands. The visualization uses D3 v5 APIs including `d3.pie` for computing arc data, `d3.arc` for generating SVG paths, and `d3.scaleOrdinal` for categorical color assignment. Data is loaded from a CSV file hosted on GitHub Gist via `d3.csv`, and rendered as SVG within a 960x500 canvas with a legend positioned to the right.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed