scatter plot-5320
✓ Published0🌍 Public
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 descriptionMIT Licensed