Skip to main content
100%

ICE-7 snehith Part-2

✓ Published0🌍 Public
Ssai snehith nadipally
Last edited Mar 28, 2024
Created on Mar 28, 2024
Forked from Circles with D3

This pie chart visualizes COVID-19 death counts by country. The D3 v5 code loads a CSV dataset from a GitHub gist, then uses `d3.pie` and `d3.arc` to generate sliced paths, with `d3.scaleOrdinal` providing categorical colors. Each slice is labeled with its country name, and a legend built from SVG rectangles and text identifies color mappings. The chart is rendered as an SVG with a fixed width and height, positioned centrally within the container.

AI-generated description

This is my pie chart

MIT Licensed

Similar vizzes