Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Analyzing crash data by operator

Public visualization

Analyzing crash data by operator

0 stars155🌍 Public
Rrishithagovini99@gmail.com
Last edited Apr 24, 2024
Created on Apr 4, 2024
Forked from Hello VizHub

This interactive bar chart visualizes the number of crashes by operator, with the y-axis representing crash counts and the x-axis listing operators. Users can adjust a range slider to select how many operators to display and choose ascending or descending order via a dropdown menu. Built with D3.js v7, the visualization uses `d3.rollup` to aggregate crash counts from a Google Sheets CSV, `d3.scaleBand` and `d3.scaleLinear` for axes, and updates bars dynamically on interaction. Hovering highlights bars in orange.

AI-generated description

This is a D3.js interactive graph that shows the number of crashes by operator where the y-axis shows the number of crashes while the x-axis shows different operators.

Comments

Sign in to join the discussion.

MIT Licensed