🌍 Public
Pie Chart ICE7 Democrats
A pie chart displays the distribution of Democratic primary election results by credit rating category, with values ranging from 0 to 73.2 percent. The visualization uses D3 v5's `pie`, `arc`, and `scaleOrdinal` functions to generate SVG paths from CSV data, applying a categorical color palette. A legend on the right lists each label with its corresponding percentage. The data is loaded from a GitHub Gist containing election data for USA states in 2020, and percentages are formatted using D3's `format` function.
AI-generated descriptionMIT Licensed





![[TEST] Pie Chart](/viz/d701ede5b900419abe8b9de05a4f9916/social-image.png?v=0bd245a36edb4ca1a03f35e4ee014138)


Comments
Sign in to join the discussion.