Skip to main content
100%

Fork of Animating Scatter Plot with menus

✓ Published0🌍 Public
GGayan Priyadarshana
Last edited Aug 25, 2023
Created on Aug 25, 2023

This interactive scatter plot displays the classic Iris dataset, allowing the user to switch which of the four flower measurements (sepal and petal length and width) are mapped to the X and Y axes via dropdown menus. Built with D3 v7, it uses `scaleLinear` for axes, `transition` for animated point movement, and `axisLeft`/`axisBottom` for tick marks. A custom `menu` module manages the dropdowns, using `dispatch` to trigger updates that re-draw the SVG circles with a staggered delay.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes