Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Tttummala17
Last edited Jun 30, 2022
Created on Jun 30, 2022
Forked from Pie Chart

This pie chart visualizes 2022 U.S. auto sales by brand, sourced from a CSV of electric vehicle deliveries. Each slice shows the proportion of total sales, while a legend lists brand names, their percentage of the total, and sales figures in thousands. The code loads data using `d3.csv`, computes pie angles with `d3.pie`, and draws SVG paths with `d3.arc`. Colors are assigned via `d3.scaleOrdinal`, and the legend uses formatted text for percentages and values.

AI-generated description
MIT Licensed

Similar vizzes