Animated Reusable D3 Scatter Plot
✓ Published0🌍 Public
This animated reusable scatter plot visualizes the Iris Dataset, cycling through four measured attributes (petal width, sepal width, petal length, and sepal length) on the x-axis while keeping sepal length on the y-axis. Built with D3 v6, the chart uses a custom reusable chart function with `scaleLinear`, `axisLeft`, and `axisBottom` to render axes as SVG. Each transition, triggered by `setInterval`, repositions circles with staggered delays via `transition.delay`, while the axes smoothly update using the standard D3 transition API.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed