Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published2🌍 Public
Ppragnyalipsa96@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This animated scatter plot visualizes traffic accident data, plotting speed limits against the number of vehicles involved, with points color-coded by weather condition and shaped by accident severity. The visualization cycles through different x-axis variables every three seconds, alternating between speed limit and driver experience. Built with D3.js v6, the example uses `scaleLinear` for axes, `scaleOrdinal` for categorical color and shape encoding, and `symbol()` for point markers. Data comes from a CSV file fetched via `csv()`, rendered as an SVG with axis labels, legend, and custom styling.

AI-generated description
MIT Licensed

Similar vizzes