Skip to main content
100%

Fork of ICE - 7 Pie Chart Maanas Katta

✓ Published0🌍 Public
KKeerthipriyaBankuru
Last edited Jul 3, 2022
Created on Jul 3, 2022

A pie chart displays the top 10 countries by deaths in 2020 from air pollution, with each slice labeled with its value in thousands and a legend listing country names and corresponding figures. The chart uses D3 v5 to load CSV data from a gist URL, then applies `d3.pie` and an arc generator to compute slice geometries, `d3.scaleOrdinal` for slice colors, and SVG `path` and `text` elements for rendering. Values are formatted with `d3.format` and the chart is centered in a 960×500 SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes