Kent (UK) police search count by ethnicity and search type
✓ Published2🌍 Public
This visualization shows the distribution of Kent police stop-and-search incidents by officer-defined ethnicity and search type, using a bar chart where color intensity represents aggregated search counts. The data comes from a CSV file loaded asynchronously via `d3.csv`. Built with Vega-Lite API and D3 v5, the chart encodes ethnicity on the x-axis and search type on the y-axis, with `vl.color().count()` mapping frequency to color. The rendering uses Vega’s SVG renderer, with a custom dark text palette and enlarged axis labels configured through a shared config object for readability. Tooltips are enabled via the vega-tooltip handler.
AI-generated descriptionThis chart is a visualization of the Kent (UK) police stop and search data.
MIT Licensed