ICE7-Q2a-Pie
✓ Published2🌍 Public
This pie chart displays the proportional population share of each continent, using a fallback dataset by default or aggregated data from a CSV file when it loads successfully. The visualization is rendered as an SVG using D3 v7, with the `d3.pie` and `d3.arc` functions generating the slices and labels. A `d3.scaleOrdinal` with `schemeTableau10` assigns colors, and a legend is appended to the SVG. The code dynamically switches between embedded sample data and CSV-derived aggregates for the year 2023.
AI-generated descriptionMIT Licensed