Skip to main content
100%

ICE

✓ Published0🌍 Public
Ppragnyalipsa96@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

This animated scatter plot visualizes simulated traffic accident data, showing the relationship between the number of vehicles and two alternating x-axes: speed limit and driver experience. The reusable chart, built with D3 v7, uses `d3.scaleLinear`, `d3.axisBottom`, and `d3.symbol` to render colored shapes representing weather and road type. Every three seconds, a `setInterval` callback switches the x-axis accessor, updating the title and re-rendering the SVG with smooth transitions. The data loads from a GitHub-hosted CSV file with numeric fields parsed for quantitative scaling.

AI-generated description
MIT Licensed

Similar vizzes