Skip to main content
100%

Assignment-2-Q1

✓ Published0🌍 Public
Gganjishivakumar276@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024
Forked from Q2

A pie chart ranks the ten countries with the highest Covid-19 mortality totals, displaying each country’s death count as a labeled slice and an accompanying legend. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate and color the segments, while data is fetched as CSV via `d3.csv` from a GitHub gist. The SVG render includes white text labels and a custom legend with colored rectangles, sorted descending by total deaths.

AI-generated description

Assignment-2 To create a pie chart using d3.js

MIT Licensed

Similar vizzes