🌍 Public
Viewing a saved revision (read-only)
1c87ae0e9d2c4facb9d9fcb920ff344f
Species Stratified Animated Scatter Plot with Menus
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.