Fork of Pie Chart
✓ Published0🌍 Public
This visualization shows car sales for the month of May, displaying each state's count as a slice of a pie chart with proportional labels and a corresponding legend. The chart uses d3.pie and d3.arc to generate the segments, d3.scaleOrdinal for colors, and d3.select to manipulate the SVG. Data is loaded asynchronously from a GitHub-hosted CSV using d3.csv. Labels apply a custom d3.format tick format, while the legend lists state names and their values.
AI-generated descriptionMIT Licensed