Fork of Animated Reusable D3 Scatter Plot Sandbox
✓ Published0🌍 Public
This animated scatter plot cycles through different pairings of measurements from the Iris dataset every three seconds, morphing the positions of 150 circles as the axes rescale. Built with D3 v6, it uses `selection.join` with transitions to animate entering, updating, and exiting circles, while axes update via `axisLeft` and `axisBottom`. The reusable `scatterPlot` function configures scales with `scaleLinear` and `extent`, rendering SVG with a 1-second transition delay per point.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed