Fork of Reusable Scatter plot Activity7.1
This example demonstrates an interactive scatter plot of the Iris dataset, cycling through different feature combinations on the x-axis every few seconds. The plot displays petal width against sepal length, with points colored by species (setosa, versicolor, virginica) and varying ellipse shapes based on sepal dimensions. It uses D3.js v6 with reusable chart components via `scatterPlot`, `scaleLinear`, `axisLeft`, and `axisBottom` to render SVG circles and axes. The animation switches x-axis features using `setInterval`, while custom legend, title, and axis labels are appended dynamically.