Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart Maanas Katta

Public visualization

Viewing a saved revision (read-only)

9c0155d1424f45ab93f14644a4b49aaa

Fork of ICE - 7 Pie Chart Maanas Katta

0 stars0🌍 Public
RRohith arabati
Last edited Mar 26, 2022
Created on Mar 26, 2022

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