Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Piechart_7

Public visualization

Viewing a saved revision (read-only)

844f936aaea946b388e617d4b2027159

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