Fork of ICE7-Pie Chart
✓ Published1🌍 Public
This fork of ICE7-Pie Chart shows the pollution levels and population for ten US states using a pie chart rendered as SVG. Each slice represents a state’s population, with slice labels and a legend listing state names and population values in millions. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to compute the arcs and assign a custom color palette. Data is fetched asynchronously from a CSV hosted on GitHub, and the chart is drawn by appending paths and text elements to the SVG canvas.
AI-generated descriptionMIT Licensed