🌍 Public
Viewing a saved revision (read-only)
6bf38b1c55f343488720d527a2f3a012
Activity 9.1
This animated scatter plot displays measurements from the Iris flower dataset, with points colored by species (setosa, versicolor, virginica). The visualization cycles through different feature combinations—petal width, sepal width, petal length, and sepal length—on the x-axis, while keeping sepal length on the y-axis. Built with D3.js, it uses a custom reusable `scatterPlot` component with `d3.scaleLinear` scales, axes, and a `setInterval` timer to update the plot dynamically. The SVG rendering includes a color-coded legend and axis labels.
AI-generated descriptionA demonstration of reusable scatter plot.