Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Animated Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

1ebe3f3f22e44b2987402add0dcde765

Fork of Animated Scatter Plot with Menus

0 stars0🌍 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