Skip to main content
100%

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

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

Similar vizzes