🌍 Public
Viewing a saved revision (read-only)
8d2c487ede4d4a1fac4d9cd1828a4c4d
NYC Crashes Interactive Sparkline
This interactive sparkline visualizes monthly motor vehicle crashes in New York City from 2012 to 2025, using data from a CSV file. A thick purple line with a light area fill shows the trend, while hovering reveals a tooltip displaying the exact crash count and month via a bisector-based lookup. Built with D3.js, it uses `scaleTime`, `scaleLinear`, `line`, and `area` generators, plus `pointer` events for interactive hover feedback on the SVG canvas.
AI-generated description