Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Fork of ICE 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

5a0b164a8f594fb782ec4f4b1ec711bf

Fork of Fork of Fork of Fork of ICE 7 Pie Chart

0 stars0🌍 Public
PPrathyusha0304
Last edited Mar 27, 2022
Created on Mar 27, 2022

This D3 pie chart displays the top 5 countries by death count in 2020, with each slice labeled and a corresponding legend showing the country name and formatted value. It loads CSV data via `d3.csv`, computes arc segments using the `pie` and `arc` helpers, and colors slices using `scaleOrdinal` with a fixed range. The visualization is rendered as SVG, with custom text and legend elements added to the same canvas.

AI-generated description