Skip to main content
Public

Share visualization

Loading preview…

Fatal Police Shootings Category Selection

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fatal Police Shootings Category Selection

0
ZZG
Last edited Nov 5, 2020
Created on Nov 5, 2020

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.

AI-generated description

A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.

Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

Comments

Sign in to join the discussion.

MIT Licensed