🌍 Public
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.
MIT Licensed








Comments
Sign in to join the discussion.