🌍 Public
Viewing a saved revision (read-only)
ed8d6a22ce4c4835bdb23232608d6fbc
Project_SDV_1
A donut chart displays the top five countries by population in 2020, with each slice labeled by country name and population in millions. The visualization uses D3 v5, loading CSV data from a GitHub repository via `d3.csv`. The chart is rendered as SVG, with `d3.pie` generating arc segments and `d3.scaleOrdinal` assigning colors. A legend is also appended, and the data is sorted and filtered to the top five entries before rendering.
AI-generated description