Assignment-2 Task-1
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, cycling through four different attribute pairs on the x-axis every few seconds while the y-axis remains fixed. Points are colored by species (setosa, versicolor, virginica) with a manually drawn legend. The visualization is built using D3 v6, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` within a reusable `scatterPlot` function. Animated transitions are driven by `setInterval`, updating the x-axis mapping and re-rendering SVG circles, axes, and text labels dynamically.
AI-generated descriptionA demonstration of reusable scatter plot.
MIT Licensed