Skip to main content
100%

Fork of ICE7-Pie Chart

✓ Published0🌍 Public
KKolliTeja
Last edited Mar 27, 2022
Created on Mar 27, 2022
Forked from ICE7-Pie Chart

This fork of D3’s ICE7-Pie Chart uses a dataset from a GitHub gist to visualize the top 10 countries by deaths in 2020 attributed to air pollution. The pie chart displays the proportion of deaths per country, with each slice labeled with the death count in thousands and a corresponding color-coded legend listing country names and values. Built with D3 v5, the code employs D3’s pie layout, arc generator, and ordinal color scale to render the chart as SVG, while using the CSV parser to fetch and process the data from the remote source.

AI-generated description
MIT Licensed

Similar vizzes