Skip to main content
100%

scatter plot-5320

✓ Published0🌍 Public
Rrajkodavati7@gmail.com
Last edited Apr 27, 2024
Created on Apr 27, 2024
Forked from bar

This scatter plot visualizes road accident data, showing the number of casualties for each road type. The code loads a CSV file from a Gist using `d3.text` and parses it with `d3.csvParse`. It uses `d3.scaleBand` for the categorical x-axis and `d3.scaleLinear` for the y-axis, rendering circles with a fill color of `#69b3a2`. The SVG output includes rotated x-axis labels via `d3.axisBottom`, and the plot is generated with D3 v7.

AI-generated description
MIT Licensed

Similar vizzes