Skip to main content
100%

Animated Scatter Plot with Menus

✓ Published1🌍 Public
Wwspwll@gmail.com
Last edited Jul 22, 2024
Created on Jul 21, 2024

This interactive scatter plot displays the Iris flower dataset, with dropdown menus that let users switch which four measurements (sepal or petal length and width) appear on each axis. As selections change, circles transition smoothly to their new positions over one second using D3’s `transition()` with staggered delays. The visualization uses a reusable `scatterPlot` module built on `d3.scaleLinear`, `d3.extent`, and axes, while the `menu` module handles interface updates via D3’s `dispatch`. SVG rendering supports the animated circle and axis transitions.

AI-generated description
MIT Licensed

Similar vizzes