Grid Menus Animated Species Stratified Scatter Plot
✓ Published0🌍 Public
This example presents an animated scatter plot of the Iris dataset, stratified by species, with interactive dropdown menus to change the x and y axes and filter by species. It shows how the data points transition smoothly between configurations using D3’s `selection.join` and `transition`. The code uses D3 v6 with SVG rendering, and includes reusable chart and menu modules. The menus allow selection of sepal and petal measurements, while the animation updates circle positions, color, and axis scales accordingly.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.
MIT Licensed