Skip to main content
100%

Fork of Fork of Pie_chart_Us_states_density

✓ Published1🌍 Public
SSushmareddy-gudipally
Last edited Mar 28, 2022
Created on Mar 28, 2022

A pie chart displays the population density for the top 10 US states, with a legend listing each state and its density value in thousands. The visualization is built using D3 v5, with `d3.pie` and `d3.arc` generating the chart segments, and `d3.scaleOrdinal` providing the color palette. Data is loaded asynchronously from a CSV file hosted on a GitHub gist using `d3.csv`. The chart is rendered as an SVG element, with custom styling applied through a separate CSS file for the title, legend text, and labels.

AI-generated description
MIT Licensed

Similar vizzes