🌍 Public
Viewing a saved revision (read-only)
294839c8cc8743cba9c1dd8fd3632c36
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