Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

US police shootings by categories

Public visualization

US police shootings by categories

0 stars0🌍 Public
Ssayanighosal34
Last edited Nov 22, 2020
Created on Nov 22, 2020

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 description

A map shows the US police shooting by categories.

Inspired by Martin

Comments

Sign in to join the discussion.

MIT Licensed