Skip to main content
100%

Pie Chart US State Density

✓ Published1🌍 Public
PPavaniMangugari
Last edited Jul 2, 2022
Created on Jul 2, 2022

A pie chart displays the top 10 US states by population density, with each slice colored and sized proportionally to its density value in thousands. The visualization includes a legend with state names and formatted density labels. Data is loaded asynchronously from a CSV file via `d3.csv`, then processed and rendered using `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` for color mapping. The SVG is generated with d3 v5 and uses `d3.format` for tick label formatting, with all visual elements drawn as SVG paths and rectangles.

AI-generated description
MIT Licensed

Similar vizzes