Skip to main content
100%

Fork of Animated Scatter Plot with Menus

✓ Published0🌍 Public
IIsabel Cayer
Last edited Jul 24, 2025
Created on Jul 24, 2025

This interactive scatter plot explores the Iris flower dataset, allowing users to dynamically select which measurements appear on the x- and y-axes through dropdown menus. The visualization is built using D3 v6's modular approach, combining a reusable `scatterPlot` function with a custom `menu` component that uses `d3.dispatch` for event handling. As users change axis selections, the plotted points and axis scales transition smoothly over a one-second duration using D3's `transition` API. The SVG rendering also includes a species-based categorical axis option, demonstrating both linear and point scales.

AI-generated description
MIT Licensed

Similar vizzes