Skip to main content
100%

v2 - Crash Graph

✓ Published2🌍 Public
Ssjpeno@wpi.edu
Last edited Oct 28, 2024
Created on Oct 28, 2024
Forked from v1 - Crash Graph

This line chart displays the monthly count of traffic crashes from a CSV dataset, revealing seasonality patterns in the data. The visualization bins crash records by month using d3.bin with timeMonth thresholds, then renders the aggregated counts as a steelblue line with circular point markers. The x-axis uses d3.scaleTime with a monthly time format label, while the y-axis uses d3.scaleLinear to show the number of crashes. The chart includes gray background rectangle, axis labels, and explicitly positioned tick marks created through d3.axisBottom and d3.axisLeft.

AI-generated description

this is line graph of the crashes dataset to show the seasonality of the crashes data

MIT Licensed

Similar vizzes