Skip to main content
100%

T9 & 10 Q1

✓ Published0🌍 Public
Aaashrithas2000@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from Piechart ICE7

This pie chart shows the distribution of car accidents across US states, using a color-coded slice for each state with accident counts formatted in thousands. The visualization includes labeled slices with values and a legend listing each state alongside its corresponding accident total. Built with D3 v5, the code fetches CSV data from a GitHub gist, uses the `pie` and `arc` generators to create the chart, and applies a `scaleOrdinal` color scale to differentiate states. The SVG rendering includes interactive legend elements and centered labels positioned via arc centroids.

AI-generated description
MIT Licensed

Similar vizzes