🌍 Public
Viewing a saved revision (read-only)
2dc171c9006b49009514474d12296545
Fork of Animated Scatter Plot with Menus
This example shows the classic Iris Dataset as an animated scatter plot. Through dropdown menus, users can select which attributes (petal or sepal width/length, or species) to plot on the x and y axes. The menu module uses `d3.dispatch` to broadcast change events. The `scatterPlot` module leverages D3 6.7.0 features such as `scaleLinear`, `axisLeft`, `axisBottom`, and `transition` to animate point positions and axis ticks over one second.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.