🌍 Public
Viewing a saved revision (read-only)
1680d9f3e9f74cb88a7a4d3b5e7d6a7b
D3Animated Scatter Plot with Menus
This animated scatter plot of the Iris dataset lets users choose which measurement to display on each axis via dropdown menus. D3’s `selection.join` and `transition` smoothly reposition circles and axes over one second, with new points growing from radius zero. The menu component uses D3’s `dispatch` for change events, while `scaleLinear`, `axisLeft`, and `axisBottom` handle the scales and ticks.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.