🌍 Public
Viewing a saved revision (read-only)
2da5c008ef4f42ddb660012235603c27
Assignment-2 Task-1
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.