๐ Public
Viewing a saved revision (read-only)
f1a373564d2b4b9f9b99f004b2b9555b
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 description