Reusable D3 Scatterplot
This scatterplot visualizes the Iris dataset, cycling through four flower measurements (petal width, sepal width, petal length, sepal length) on the x-axis every two seconds via `setInterval`. Built with D3 v7 in a React application, it renders animated SVG circles and axes using `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. The reusable `scatterPlot` function accepts configurable accessors for data, dimensions, margins, and radius, allowing dynamic updates through `svg.call(plot)`.