Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive NYC Borough map

Public visualization

Interactive NYC Borough map

0 stars0🌍 Public
JJose Morales
Last edited Oct 23, 2025
Created on Oct 23, 2025

This interactive map of New York City’s five boroughs visualizes traffic crash statistics, distinguishing injury and fatality counts for cyclists, pedestrians, and motorists. A legend allows users to toggle six incident categories on and off, revealing colored point markers for each crash location. The map renders boroughs as colored SVG paths using `d3.geoMercator` and `d3.geoPath`, with data loaded from CSV files via `fetch`. Hovering over a borough displays aggregated crash counts from `CrashByBorough.csv` in a tooltip.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed