Skip to main content
100%

Pie Chart for Nukes dataset

✓ Published0🌍 Public
Rreddyakshitha
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from HTML Starter

A pie chart displays the number of nuclear warheads per country, with each slice colored distinctly and a legend listing country names alongside their values. The visualization uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG paths, while data is loaded from a CSV gist via `d3.csv`. Slices are rendered without gaps, and the chart is centered within an SVG of 960 by 500 pixels, with legend text styled via CSS.

AI-generated description

Pie Chart for Nukes dataset

MIT Licensed

Similar vizzes