Skip to main content
100%

v5 - Crash Graph

✓ Published1🌍 Public
Ssjpeno@wpi.edu
Last edited Nov 18, 2024
Created on Nov 17, 2024
Forked from v4 - Crash Graph

This line chart displays the seasonality of crash counts over time, with data from the smallcrashcopy.csv file. It uses d3.bin and timeMonth.range to aggregate crashes by month, then plots them with d3.line and scales from d3.scaleTime and d3.scaleLinear. The visualization supports toggling visibility for three mode types (mv, ped, bike) via checkboxes, which recomputes the total counts and dynamically updates the y-axis with axisLeft. A gray background rectangle and labeled axes for month and crash counts frame the chart.

AI-generated description

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

MIT Licensed

Similar vizzes