Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
Ssusarlasruthi2000@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from 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
MIT Licensed

Similar vizzes