Skip to main content
100%

ICE-7-Pie Chart

✓ Published0🌍 Public
Ssenthilrajendran1
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Pie Chart

This interactive pie chart summarizes the total number of mass shooting victims across the top 20 U.S. states. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal`/`schemeCategory10` APIs to generate and color the SVG segments, with a color-coded legend listing each state and its victim count. The data is loaded from a remote CSV and sorted by `Total_Victims` before slicing. Hovering over a segment highlights it and logs the value to the console.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes