🌍 Public
Viewing a saved revision (read-only)
fc8b942302b843dda4e5574bdc855c80
NYC Crash Bar Chart with React & D3
This bar chart visualizes the number of vehicle collisions in New York City across the 24 hours of a day, breaking down each hour's total into stacked segments for injuries, deaths, and other crashes. The chart uses React to manage the SVG and window resizing, while D3's `scaleLinear`, `axisBottom`, and `stack` APIs handle the data scaling, axes, and stacked bar construction. Data is loaded from a local CSV file.
AI-generated description