Fork of Reusable D3 Scatter Plot
✓ Published1🌍 Public
This interactive scatter plot visualizes the Iris dataset, cycling every two seconds through four different variable pairs on the x-axis (petal width, sepal width, petal length, sepal length) while keeping sepal length on the y-axis. Built as a reusable D3.js chart function, it uses `scaleLinear`, `axisLeft`, and `axisBottom` to render axes and animated circle transitions via `svg.call(plot)`. The animation iterates through columns using `setInterval`, updating scales and marks dynamically within a full-screen SVG.
AI-generated descriptionMIT Licensed