Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of ICE - 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

fc5aaca2d9bd4745bc65d0a43c8a06cd

Fork of Fork of ICE - 7 Pie Chart

0 stars1🌍 Public
NNaimisha-M
Last edited Jul 1, 2022
Created on Jul 1, 2022

This example visualizes the top 10 countries by COVID-19 deaths in 2020 using a pie chart rendered as SVG. Each slice is labeled with its death count in thousands, and a legend on the right pairs country names with their corresponding values and color swatches. The chart is built with D3 v5, using `d3.pie` and `d3.arc` to generate the sectors, `d3.scaleOrdinal` for color mapping, and `d3.csv` to load the data from a GitHub gist. The visualization highlights relative mortality contributions across countries with a clean, annotated layout.

AI-generated description