Activity 7 Scatter Plot
✓ Published0🌍 Public
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.
MIT Licensed