Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

ICE - 7 Pie chart viz

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed