Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

96b1299bb06444d981e6fcadd2298529

ICE7 Pie Chart

0 stars0🌍 Public
Ssowmyanagula@my.unt.edu
Last edited Mar 26, 2022
Created on Mar 26, 2022

This pie chart visualizes the populations of ten Indian states in 2000, with each slice’s area proportional to its population value and a legend mapping colors to state names and exact counts. Built with D3 v5, it loads JSON data via `d3.json`, arranges arcs using `d3.pie()` and `d3.arc()`, and assigns categorical colors through `d3.scaleOrdinal` with `d3.schemeCategory10`. The SVG rendering includes text labels formatted with `d3.format`, while the legend is manually constructed using appended rectangles and text elements.

AI-generated description