Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Nitheesh_ICE7_PieChart

Public visualization

Nitheesh_ICE7_PieChart

0 stars0๐ŸŒ Public
NNitheeshSama
Last edited Mar 26, 2023
Created on Mar 26, 2023

This pie chart visualizes the death counts from air pollution for the top 10 countries in 2017, using a custom color for each segment. The chart is rendered as SVG via D3 v5, where the `d3.pie` function computes the arc data and `d3.arc` generates the path geometry. A legend to the right maps each country to its color and displays the death count in thousands, formatted with `d3.format`. Data is loaded asynchronously from a CSV file using `d3.csv`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed