Fork of Animated Reusable D3 Scatter Plot
✓ Published0🌍 Public
This animated scatter plot cycles through different pairings of the Iris dataset's four measurements, moving each of the 150 flowers to a new position every three seconds. Built with D3 v6, it uses `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to map attributes to coordinates, while `transition` with a one-second duration animates circle positions and axis updates. The reusable `scatterPlot` component leverages selection joins to smoothly interpolate between states, rendering the SVG directly to the full browser window.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed