Skip to main content
100%

Animating Scatter Plot with menus

✓ Published1🌍 Public
GGayan Priyadarshana
Last edited Aug 24, 2023
Created on Aug 24, 2023

This interactive scatter plot visualizes the Iris dataset, letting users dynamically choose which flower measurements to plot on each axis via dropdown menus. The visualization animates circle positions smoothly between states using D3 transitions with staggered delays. Built with D3 v7 in a React-compatible structure, the code leverages scaleLinear, axisBottom, axisLeft, and custom reusable menu and scatterPlot functions. SVG rendering displays all plotted points, with axis labels updating to reflect the selected measurement columns.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes