D3Animated Scatter Plot with Menus
✓ Published0🌍 Public
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.
MIT Licensed