Skip to main content
100%

More Optimized Interactive NYC Borough map with scroll and zoom

✓ Published0🌍 Public
JJose Morales
Last edited Dec 3, 2025
Created on Dec 3, 2025

This interactive NYC borough map visualizes traffic crash data, showing both aggregate borough statistics and individual incident points for cyclist, pedestrian, and motorist injuries and fatalities. Users can pan and zoom with mouse wheel and drag gestures via a debounced render pipeline. The visualization combines an SVG layer for borough outlines rendered with `d3.geoPath` and `geoMercator`, alongside a Canvas layer for efficient point rendering. Incident data is loaded from per-category CSV files, while a legend toggles visibility for six incident categories using React state.

AI-generated description
MIT Licensed

Similar vizzes