Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

scatter plot-5320

Public visualization

Viewing a saved revision (read-only)

6b508599c4e24f22935cea40e99a3d39

scatter plot-5320

0 stars0🌍 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