Fork of Reusable D3 Scatter Plot
This example visualizes the Iris Dataset as a scatter plot, showing the relationship between two flower measurements at a time. The plot cycles every two seconds between four different x-axis attributes—petal width, sepal width, petal length, and sepal length—while keeping sepal length on the y-axis. It uses D3 v6 APIs like `scaleLinear`, `axisLeft`, `axisBottom`, and a reusable `scatterPlot` function with setter methods. Animated transitions are driven by `setInterval`, rendering circles and axes as SVG elements in a full-window view.