Fatal Police Shootings by Race and Flee Status: stacked bar
This stacked bar chart displays the count of fatal police shootings, categorized by race on the x-axis and color-coded by the victim’s flee status. Data comes from the Washington Post’s Fatal Police Shootings Database, loaded via `d3.csv`. The chart is rendered using the Vega-Lite API (`vl.markBar` with `vl.x()`, `vl.y().count()`, and `vl.color()`) in D3 v5, with a custom config for axis styling and tooltips enabled through the vega-tooltip handler.
AI-generated descriptionA program that loads and parses some CSV data from the Fatal Police Shootings Database compiled by the Washington Post
The visualization shows the count of fatal police shootings represented in a stacked bar chart, categorized by race along the X axis and color coded based on the "flee" status of the victim.