Skip to main content
100%

ICE - 7 Pie Chart

✓ Published0🌍 Public
Ttejasviprasad06@gmail.com
Last edited Mar 10, 2023
Created on Mar 10, 2023

This pie chart visualizes the top 10 countries by COVID-19 deaths, with each slice’s area proportional to the total fatalities and labeled with values in thousands. A legend on the right pairs each country with its corresponding color and death count. Built with D3.js v5, the example uses `d3.pie` to compute arc angles, `d3.arc` to generate SVG paths, and `d3.scaleOrdinal` for slice colors. Data is loaded asynchronously from a CSV via `d3.csv` and sorted before rendering.

AI-generated description
MIT Licensed

Similar vizzes