Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

v4 - Crash Graph

Public visualization

v4 - Crash Graph

0 stars1🌍 Public
Ssjpeno@wpi.edu
Last edited Nov 17, 2024
Created on Nov 17, 2024
Forked from v2 - Crash Graph

This line graph visualizes the seasonality of crash data from a CSV file, displaying monthly crash counts for three transportation modes: motor vehicles, pedestrians, and bicycles. The visualization uses D3.js functions including `timeMonth.bin()` for grouping data, `scaleTime` and `scaleLinear` for scaling, and `line()` for generating the line paths. Each mode is color-coded using `scaleOrdinal` with `schemeCategory10`, and the chart includes interactive toggling for showing or hiding each line.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed