US police shootings by categories
✓ Published0🌍 Public
A map of the United States displays police shooting incidents as colored dots, with each dot's color representing a category selected from a dropdown menu such as race, gender, or threat level. The visualization uses React to manage the interactive state, D3's `geoAlbersUsa` projection and `geoPath` to render the geographic boundaries, and `scaleOrdinal` for the categorical color scale. A custom color legend allows users to hover over categories to highlight corresponding data points. The data is loaded from a CSV file, while the map outlines come from a TopoJSON US atlas.
AI-generated descriptionA map shows the US police shooting by categories.
Inspired by Martin
MIT Licensed