🌍 Public
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 descriptionMIT Licensed
Comments
Sign in to join the discussion.