Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published1🌍 Public
BBHUMIKA CHUNDU
Last edited Oct 26, 2025
Created on Oct 26, 2025

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 description
MIT Licensed

Similar vizzes