Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

aecec76e6c674629857df7e6102bb3d3

ICE-7 Pie Chart

0 stars1🌍 Public
Jjayanthamol99
Last edited Mar 29, 2023
Created on Mar 27, 2023

This pie chart displays the top 10 countries with the most COVID-19 deaths, with each slice’s color mapped from a categorical scale and labeled in a legend showing country names and death totals in thousands. The visualization loads CSV data from a GitHub gist using d3.csv, then uses d3.pie and d3.arc to generate SVG path segments. d3.scaleOrdinal assigns a fixed color palette, while the legend is built manually with appended SVG rect and text elements. The chart is rendered entirely with d3.v5 and SVG.

AI-generated description