Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Sparkline

Public visualization

Fork of Interactive Sparkline

0 stars0🌍 Public
JJose Morales
Last edited Nov 6, 2025
Created on Nov 6, 2025

This interactive area chart visualizes monthly car crash counts in New York City from July 2012 through September 2025, using data from a local CSV file. A purple line and filled area show the trend, while hovering over the chart displays a vertical guide line, a highlighted point, and the exact crash count and month in a large text label. The visualization uses d3.scaleTime, d3.scaleLinear, d3.line, d3.area, and d3.bisector to map data, render shapes, and locate hovered points, with d3.pointer tracking mouse position.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed