Skip to main content
100%

ICE-7 Pie Chart

✓ Published1🌍 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
MIT Licensed

Similar vizzes