Fork of Animated Reusable D3 Scatter Plot
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, cycling through different pairings of sepal and petal measurements every three seconds. The chart uses D3 v6 with a reusable module pattern, employing `scaleLinear`, `axisLeft`, `axisBottom`, and `selection.join` to handle enter, update, and exit states. As the axes change, circles transition smoothly via `transition().duration(1000)`, with new points growing from radius zero and existing points repositioned with staggered delays. Rendered as an SVG filling the viewport, it demonstrates dynamic data binding and responsive chart updates.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed