Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Viewing a saved revision (read-only)

1b312c42d5994c4bb6c7493141606b0e

Fork of Pie Chart

0 stars0🌍 Public
Kkandulasunny17@gmail.com
Last edited Nov 5, 2024
Created on Nov 4, 2024
Forked from Pie Chart

This fork of a pie chart visualizes 2022 US auto sales by brand, displaying each brand’s sales count and percentage alongside its colored slice. The chart loads CSV data from a GitHub gist using `d3.csv`, computes total sales, and renders slices with `d3.pie` and `d3.arc`. Legends are drawn as SVG groups, with colors assigned via `d3.scaleOrdinal` and labels formatted using `d3.format`, all within a static SVG canvas.

AI-generated description