🌍 Public
Viewing a saved revision (read-only)
2005a8f9726c4542871cfa6bd1b49eff
Task 9&10
This animated scatter plot visualizes the Iris dataset, showing flower measurements across four variable combinations. It cycles through petal width, sepal width, petal length, and sepal length on the x-axis while keeping petal width on the y-axis. The code uses D3.js with a reusable `scatterPlot` module built on `scaleLinear`, `axisLeft`, `axisBottom`, and `extent`, updating via `setInterval`. Species are color-coded with a legend, and circles are rendered as SVG elements with animated axis transitions.
AI-generated descriptionA demonstration of reusable scatter plot.