Skip to main content
100%

USA police shootings

✓ Published1🌍 Public
ZZG
Last edited Sep 23, 2020
Created on Sep 16, 2020

A stacked bar chart displays the total number of police shootings per state, with each bar segmented by race to show demographic distribution. The visualization uses the vega-lite-api, building a bar mark with grouped aggregation via `vl.groupby` on state and race, and encodes counts as the y-axis. Data is loaded as CSV from a Kaggle-hosted gist using `d3.csv`. The chart is rendered with Vega-Lite, styled with custom axis and label configuration, and includes tooltips for count and race details.

AI-generated description

This bar chart visualization shows the total number of race that getting shoot distribution along with different state.

A visualization constructed using the vega-lite-api.

The data shown here comes from the kaggle, via US Police Shootings.

MIT Licensed

Similar vizzes