Fork of Reusable D3 Scatter Plot
✓ Published2🌍 Public
This animated scatter plot cycles through four attributes of Fisher’s iris dataset—petal width, sepal width, petal length, and sepal length—on the x-axis against sepal length on the y-axis. Built with D3 v6 and a reusable `scatterPlot` module, it renders SVG circles scaled by `d3.scaleLinear` with `d3.axisLeft` and `d3.axisBottom`. Every two seconds, `setInterval` updates the x-value accessor and re-calls the plot, smoothly shifting the point positions and axes.
AI-generated descriptionMIT Licensed