π Public
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.
MIT Licensed
Comments
Sign in to join the discussion.