Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie chart viz

Public visualization

Viewing a saved revision (read-only)

7fb0d66d14024ac8876c6d37daf3a634

ICE - 7 Pie chart viz

0 stars6🌍 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