Fork of Reusable D3 Scatter Plot
This example presents a scatter plot of the Iris Dataset, with points colored by species. The visualization cycles through four different x-axis mappings—petal width, sepal width, petal length, and sepal length—every two seconds, animating the transitions between views. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render the plot, while a `setInterval` loop updates the x-value accessor and re-invokes the reusable chart function. SVG circles represent the data points, and axes are redrawn with each update.