Skip to main content
100%

ICE - 7 Pie chart viz

✓ Published5🌍 Public
SSravan1888
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from Pie Chart

This pie chart visualizes the percentage distribution of the top five countries with the most coronavirus cases. The data is loaded from a CSV file hosted on GitHub Gist. Built with D3.js v5, the visualization uses `d3.pie` to compute arc segments, `d3.arc` to generate the sector paths, and `d3.scaleOrdinal` for color mapping. Each sector is labeled with its percentage, and a legend displays the country names and corresponding values. The SVG canvas is 960 by 460 pixels, with the chart centered and styled via external CSS.

AI-generated description
MIT Licensed

Similar vizzes