Skip to main content
100%

ICE7-Pie Chart 11540905

✓ Published0🌍 Public
Nnagasai-gummadi
Last edited Mar 12, 2023
Created on Mar 11, 2023
Forked from ICE7-Pie Chart

A pie chart displays Covid case totals for nine countries, with each slice labeled by its case count and a color-coded legend listing country names and values. The visualization uses D3 v5 to load CSV data from a GitHub gist, compute pie arc angles with `pie()`, and render SVG `path` and `text` elements via `arc()`. Colors are assigned with `scaleOrdinal()`, while D3’s `format()` handles numeric labels. The chart is centered in an SVG container, with legends positioned to the right.

AI-generated description
MIT Licensed

Similar vizzes