ICE - 7 Reusable Scatter Plot
This scatter plot animates through different pairings of Iris flower measurements, cycling every two seconds between petal width, sepal width, petal length, and sepal length on the x-axis while keeping sepal length on the y-axis. Built with D3 v6, the visualization uses a reusable `scatterPlot` module that leverages `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, with circles colored by species (setosa, versicolor, or virginica). Data comes from a CSV of the classic Iris dataset, and the transitions are driven by `setInterval` calling the plot function with new x-value accessors.