🌍 Public
Viewing a saved revision (read-only)
4fa095a5d0a2444a9425a088b58292dd
Scatter plot assignment
A scatter plot visualizes the relationship between sepal length and petal length for 40 samples from the Iris dataset, with each point representing a single flower. The D3.js v7 code loads the CSV data using `d3.csv` and `d3.autoType`, then renders circles in SVG with `d3.scaleLinear` for both axes. Axis elements are generated via `d3.axisBottom` and `d3.axisLeft`. Points are drawn with uniform steelblue fill and opacity, and the chart includes labeled x- and y-axes.
AI-generated description