Skip to main content
Public

Share visualization

Loading preview…

Fork of kaustav 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 kaustav of Animated Scatter Plot with Menus

0
Ccssergio
Last edited Jun 23, 2022
Created on Jun 23, 2022

This animated scatter plot visualizes the Iris dataset, allowing selection of X and Y axis variables from menus. It uses D3 v6 with SVG rendering, implementing a reusable chart pattern with selection.join for enter, update, and exit transitions. Axis labels animate position changes, circles transition to new coordinates with staggered delays, and a tooltip appears on mouseenter. The scatterPlot module uses scaleLinear and scalePoint for quantitative and categorical axes, with d3.transition for smooth 1000ms animations.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed