Skip to main content
Public

Share visualization

Loading preview…

Fork of Animated Scatter Plot with Menus

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Animated Scatter Plot with Menus

1
IIsabel Cayer
Last edited Jul 24, 2025
Created on Jul 24, 2025

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between different flower measurements. The visualization uses D3 v6 to render animated SVG circles that transition smoothly when the X or Y axis is changed via dropdown menus. The code implements reusable modules for the scatter plot and menu components, using D3's `transition()` for animations, `scaleLinear()` for axis scaling, and the `csv()` function to load the dataset from a GitHub Gist.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed