Skip to main content
100%

ICE7-2VarshaG

✓ Published0🌍 Public
VVReddy913
Last edited Jul 3, 2022
Created on Jul 3, 2022
Forked from Pie Chart

This visualization displays US mortality rates across states using a pie chart, with each slice sized by the number of deaths and labeled with the state name. The chart is rendered as SVG elements using D3 v5, employing the `pie` and `arc` generators to compute slice geometry, while `scaleOrdinal` maps death counts to a fixed set of colors. A legend on the right lists each state with its corresponding color and formatted death count. Data is loaded asynchronously from a CSV file fetched from a GitHub Gist using D3’s `csv` method.

AI-generated description
MIT Licensed

Similar vizzes