🌍 Public
Viewing a saved revision (read-only)
76227719db6a44f8a78389ac301e680c
Fork of Hello VizHub
A pie chart displays the top ten states by Democrat population, with each slice representing a state's population in millions. Built with D3 v5, the visualization uses `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` with the `schemeCategory10` color palette. The chart renders as an SVG, with an interactive hover that logs the state's population to the console. A legend on the right shows state names and populations, sourced from a CSV file loaded via `d3.csv`, sorted and sliced to the top ten entries.
AI-generated description