Activity 6
This animated scatter plot cycles through four Iris flower measurements—petal width, sepal width, petal length, and sepal length—on the x-axis, with sepal length on the y-axis. D3 v6 loads the Iris dataset via `d3.csv`, scales axes with `scaleLinear`, and renders axis ticks using `axisLeft` and `axisBottom`. A `setInterval` updates the x-value accessor, triggering a re-render of the SVG via the custom `scatterPlot` function. Circles are colored by species (setosa, versicolor, virginica) and accompanied by a legend and axis labels.