Skip to main content
100%

Pie Chart of Covid 19 Deaths

✓ Published0🌍 Public
NNithish Kumar
Last edited Mar 12, 2023
Created on Mar 12, 2023
Forked from yasmeen pie

This pie chart visualizes COVID-19 deaths by country, with each slice’s size proportional to the total death count and labeled in thousands. The chart uses D3 v5’s `pie` and `arc` generators to compute and draw the segments, `scaleOrdinal` to assign categorical colors, and `format` to abbreviate numeric labels. A legend lists each country alongside its corresponding color and value. Data is loaded asynchronously from a CSV file hosted on GitHub via `d3.csv`, and all graphics are rendered as SVG elements within a fixed 960×500 viewport.

AI-generated description

Pie chart for car sales

MIT Licensed

Similar vizzes