Pie Chart by Tejaswi Tummala
✓ Published0🌍 Public
This pie chart visualizes electric vehicle sales in the USA for 2021, using a CSV dataset from a GitHub gist. The chart, built with d3.v5, renders each car model as a colored slice with sales values labeled in thousands, and includes a legend mapping colors to car names. It uses d3.pie, d3.arc, and d3.scaleOrdinal to generate the arcs and colors, while the SVG is selected via d3.select.
AI-generated descriptionMIT Licensed