ICE-7-Assignment-7- Piechart
✓ Published0🌍 Public
This pie chart displays the distribution of housing sales across the ten most populous U.S. states, with each slice sized by the number of sales and labeled in a legend showing exact values. The visualization uses D3 v7 to generate an SVG pie chart, applying `d3.pie()` to compute arc angles and `d3.arc()` to render the paths, while `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors to states. The data consists of hardcoded values for state populations and sales figures, and the chart includes a custom legend positioned to the right of the pie.
AI-generated descriptionMIT Licensed