Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of ICE - 7 Pie Chart

Public visualization

Fork of Fork of Fork of ICE - 7 Pie Chart

0 stars0๐ŸŒ Public
NNaimisha-M
Last edited Jul 1, 2022
Created on Jul 1, 2022

A pie chart visualizes the top 10 countries by COVID-19 deaths in 2020, with each slice labeled with the death count in thousands. The chart uses `d3.pie` to compute arc angles and `d3.arc` for path generation, colored via `scaleOrdinal`. A legend on the right lists countries with corresponding color swatches and death values. Data is fetched as CSV from a GitHub gist, and the SVG is rendered with D3 v5, using `select` and `append` for elements and `format` for tick labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed