🌍 Public
Viewing a saved revision (read-only)
9c0155d1424f45ab93f14644a4b49aaa
Fork of ICE - 7 Pie Chart Maanas Katta
This pie chart displays the latest population of different countries, with each slice representing a country and its death count in thousands. The visualization uses D3.js v5 to load CSV data from a GitHub gist, then applies the `d3.pie` and `d3.arc` functions to generate SVG paths and text labels positioned at each segment’s centroid. A legend on the right pairs colored rectangles with country names and values, while `scaleOrdinal` maps death counts to a fixed palette of ten colors.
AI-generated description