🌍 Public
Viewing a saved revision (read-only)
afaf87e5c4cd4b7199d7fc7cc03ef914
Vehicles in NYC Crashes
JJose Morales
Last edited Oct 1, 2025
Created on Oct 1, 2025
Forked from NYC Crash Normalized Bar Chart with React & D3
This bar chart displays the number of crashes for each vehicle make in NYC, using data from the Motor Vehicle Collisions – Vehicles dataset. The chart is built with React and D3 v7, using `d3.scaleBand` and `d3.scaleLinear` to map makes to crash counts, with axes from `d3.axisBottom` and `d3.axisLeft`. The SVG is redrawn on resizing, and bars are rendered as `rect` elements.
AI-generated description