Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

proj-choropleth

Public visualization

Viewing a saved revision (read-only)

37aedaba97ef493285769800b8845915

proj-choropleth

0 stars0🌍 Public
AAndrew Blakeslee Moore
Last edited Apr 19, 2024
Created on Apr 18, 2024
Forked from A9 - Choropleth

This visualization animates through daily snapshots of reported crime counts across Chicago’s community areas. A sequential blue color scale, created with `d3.scaleSequential`, encodes each area’s crime total for the current date. Using `d3.geoMercator` and `d3.geoPath`, the example renders SVG paths from a GeoJSON file of community boundaries, with a transitioning fill color per area via `transition.attr`. The code loads crime data from a JSON file and updates the map as it cycles through available dates.

AI-generated description

This is for troubleshooting :)