🌍 Public
Viewing a saved revision (read-only)
0a5d4aeca5d9432fa5e1af4d7d8d3f4b
Activity 7 Scatter Plot
This scatter plot visualizes the Iris dataset, showing petal length versus petal width with points colored by species (setosa, versicolor, virginica) in skyblue, lightgreen, and orange. It also encodes sepal length and width as the rx and ry properties of each circle, though these do not affect the visible shape since the radius remains fixed. Built with D3 v6, the code loads CSV data via `d3.csv`, scales the axes with `scaleLinear`, draws circles using SVG, and adds labeled axes with `axisLeft` and `axisBottom`.
AI-generated descriptionA demonstration of how to start using D3 version 6.