🌍 Public
Viewing a saved revision (read-only)
737c307db155429f9078965c6e9d8fcc
Act7-tutorial
This interactive scatter plot visualizes the Iris dataset, cycling through different sepal and petal measurements on the x-axis while displaying sepal length on the y-axis. The animation updates every few seconds using `setInterval`, changing the x-axis variable and re-rendering the SVG circles. Built with D3 v6, the visualization uses `scaleLinear`, `axisLeft`, `axisBottom`, and a reusable `scatterPlot` module. Points are colored by species—setosa, versicolor, and virginica—with a custom legend, axis labels, and title rendered as SVG text elements.
AI-generated descriptionA demonstration of reusable scatter plot.