Activity7
This interactive scatter plot animates through different pairwise combinations of the Iris dataset’s four measurements, cycling the x-axis among petal width, sepal width, petal length, and sepal length while keeping sepal length on the y-axis. Points are colored by species (setosa, versicolor, virginica) with a static legend and labeled axes. Built with D3.js (v6.7.0), it uses `scaleLinear`, `axisLeft`, and `axisBottom` for scales and axes, and `setInterval` to update the plot’s `xValue` assignment. The SVG rendering is generated from a CSV fetched via `d3.csv` and styled with CSS.