Charan Fork of ICE - 7 Pie Chart
✓ Published0🌍 Public
This visualization shows the top 10 most populated US states in a pie chart with a legend displaying each state’s name and population value. The chart is rendered in SVG using D3.js v5, with data loaded from a CSV file via `d3.csv`. The pie layout uses `d3.pie` and `d3.arc` to generate segments, while `d3.scaleOrdinal` assigns colors to each slice. Labels are positioned using the arc’s centroid method, and the legend is built with SVG rectangles and text elements.
AI-generated descriptionMIT Licensed