Activity 9.1
✓ Published0🌍 Public
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.
MIT Licensed