Reusable_D3_Scatter_Plot.
This example presents the classic Iris dataset as an interactive scatter plot, cycling through different attribute pairings on the x-axis (petal width, sepal width, petal length, and sepal length) at regular intervals, while the y-axis remains fixed on sepal length. The visualization uses D3 v6 with a custom reusable `scatterPlot` component built around `scaleLinear`, `axisLeft`, and `axisBottom`, rendering SVG circles with animated transitions via `setInterval`. Data is loaded asynchronously from a GitHub-hosted CSV file using `d3.csv`, with points colored green, blue, or red to distinguish the three iris species; a legend and axis labels accompany the animated plot.