🌍 Public
Viewing a saved revision (read-only)
a23083ba728342979dc7002123f4eb38
ICE 7: Reusable D3 Scatter Plot
This interactive scatter plot visualizes the Iris dataset, mapping petal width and sepal length for three flower species distinguished by color. The visualization animates through different x-axis dimensions—petal width, sepal width, petal length, and sepal length—cycling every 1.5 seconds while updating axis labels. Built with D3 v6, it uses `scaleLinear`, `axisBottom`, `axisLeft`, and a reusable `scatterPlot` function to generate SVG circles and legends. Data loads from a CSV URL via D3’s `csv` method with automatic type parsing.
AI-generated description