Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

d644fc3bdf3642b18b2ace475214406c

Fork of Fork of Fork of Fork of Pie Chart

0 stars0🌍 Public
Yyaswanthsen
Last edited Mar 10, 2023
Created on Mar 10, 2023

This pie chart displays 2022 US auto sales by brand, sourced from a CSV file hosted on GitHub, with each brand’s YTD sales shown as a colored segment and corresponding legend values in thousands. The visualization uses D3 v5, leveraging `d3.pie` and `d3.arc` to compute the chart geometry, `d3.scaleOrdinal` for the categorical color palette, and SVG `path` elements for rendering. Legends are constructed manually with `rect` and `text` elements, while numerical formatting employs `d3.format` to display abbreviated values.

AI-generated description