Skip to main content
100%

ICE7 Pie Chart - 2nd

✓ Published0🌍 Public
MM Hema
Last edited Mar 28, 2024
Created on Mar 27, 2024
Forked from Pie Chart

This pie chart visualizes the top 10 countries by total COVID-19 deaths, using a categorical color scale. The chart displays each country’s death count as a slice, with labels directly positioned at the slice centroids and a legend mapping colors to country names. Built with D3 v7, it loads data from a CSV file, sorts it in descending order, and slices the top 10 entries. The SVG rendering uses `d3.pie` and `d3.arc` to generate the chart, while `d3.scaleOrdinal` with `schemeCategory10` assigns colors.

AI-generated description
MIT Licensed

Similar vizzes