Skip to main content
100%

Nitheesh_ICE7_PieChart

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

Similar vizzes