Fatal Police Shootings Category Selection
This interactive visualization displays fatal police shooting incidents across the United States, color-coded by user-selected attributes such as race, gender, or threat level. Built with React, D3 v5, and SVG rendering, it uses a choropleth-style map where each reported incident is represented by a semi-transparent circle. The code leverages `d3.nest()` to group counts by state and selected category, while a React Dropdown component updates the color scale via `scaleOrdinal()`. Data originates from a curated CSV dataset, and the map projection uses `geoNaturalEarth1()` with world-atlas TopoJSON boundaries.