Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart for Nukes dataset

Public visualization

Pie Chart for Nukes dataset

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed