🌍 Public
task9&10DV
This animated scatter plot explores the Iris dataset by cycling through four feature combinations on the x-axis while keeping sepal length on the y-axis. It uses D3 v6 with a reusable `scatterPlot` module that employs `scaleLinear`, `axisLeft`, and `axisBottom` for responsive axes. The visualization displays color-coded points by species—skyblue for setosa, lightgreen for versicolor, and orange for virginica—with a legend, axis labels, and a title. The `setInterval` function rotates through petal width, sepal width, petal length, and sepal length, updating the visualization every few seconds as SVG circles are re-bound to the data.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.