ICE-7-Pie Chart
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed