Species Stratified Animated Scatter Plot with Menus
✓ Published1🌍 Public
An interactive scatter plot visualizes the Iris dataset, with menus to switch the X and Y axes among sepal and petal measurements and to filter points by species. The d3.v6 code uses a reusable `scatterPlot` module with `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `transition` to animate circle positions and axis updates. Species stratification is implemented by filtering data against the selected z-value, with a 1000-millisecond transition delaying updates for a polished effect.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed