Vehicles in NYC Crashes
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 descriptionThis visualization uses the NYC Motor Vehicle Collisions – Vehicles dataset. It includes incidents where someone was injured or killed, or where property damage exceeded $1,000. For this visualization, only the vehicle make of the vehicles involved in the accident were used.
https://data.cityofnewyork.us/Public-Safety/Motor-Vehicle-Collisions-Vehicles/bm4k-52h4/about_data