ICE-7 Assignment Rajashekar Reddy
✓ Published0🌍 Public
A pie chart displays 2022 population estimates for ten countries, with each slice sized proportionally to population and labeled via a legend listing country names and formatted values. The visualization uses D3 v5’s `pie`, `arc`, `scaleOrdinal` with `schemeCategory10`, and `format` to generate SVG paths and legend text. Data is loaded asynchronously from a JSON file, and the chart is rendered with an outer radius of 185 pixels within an 860 by 500 viewBox.
AI-generated descriptionMIT Licensed