Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

c6d7d0db1f794960a2dc43b225ee8efc

Fork of Pie Chart

0 stars0🌍 Public
SSaiSreya1
Last edited Jul 8, 2022
Created on Jul 8, 2022
Forked from Pie Chart

This fork of a pie chart displays 2022 US auto sales by brand, showing each brand's percentage and total sales in thousands. The visualization uses D3 v5 to load CSV data from a GitHub Gist, then renders an SVG pie chart with colored segments, a legend with brand names, percentage values, and sales figures. The code builds the chart using D3's `pie`, `arc`, and `scaleOrdinal` APIs, with formatting handled by `d3.format`.

AI-generated description