🌍 Public
Viewing a saved revision (read-only)
e08916f5b7744181b42bef1ce058e53c
Activity8-Task3
This scatterplot visualizes the Iris dataset, mapping petal length on the x-axis and petal width on the y-axis, with each iris flower represented as a colored circle. Points are colored by species—setosa in sky blue, versicolor in light green, and virginica in orange—using D3 v6’s `selectAll`, `data`, and `join` methods. The SVG rendering applies linear scales via `scaleLinear` and `extent`, while `axisLeft` and `axisBottom` generate labeled axes. Data is loaded asynchronously from a remote CSV using `d3.csv`, with sepal measurements also parsed but not displayed in the plot.
AI-generated descriptionScatterplot for IRIS dataset