🌍 Public
Viewing a saved revision (read-only)
c9aefdee23374290bb65babb96fcc689
Fork of Reusable D3 Scatter Plot
This scatter plot displays the Iris flower dataset, plotting petal width against sepal length. It cycles through four different data columns every two seconds, animating the scatter plot's x-axis to show different variable combinations. Built with D3.js v7, it uses a reusable `scatterPlot` module with `scaleLinear`, `extent`, and axis functions. The SVG rendering updates via a `setInterval` loop, re-calling the plot function with new x-axis values.
AI-generated description