Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7 Pie Chart - 2nd

Public visualization

Viewing a saved revision (read-only)

9d162092d480496bb62911a4f9084e87

ICE7 Pie Chart - 2nd

0 stars0🌍 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