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

0
DDmytro Holysh
Last edited Jun 23, 2023
Created on Jun 21, 2023

This interactive scatter plot visualizes the Iris dataset, letting users explore relationships between sepal and petal measurements across species. Two dropdown menus, built with a custom d3 dispatch-based menu component, control which attributes appear on the x and y axes. The visualization uses d3-scaleLinear to map data to screen coordinates and d3-transition to animate circle positions and axes smoothly when selections change. Points grow from zero radius on entry and update with staggered delays, while axes reposition to match the selected dimensions. SVG rendering and d3 selection.join manage the dynamic updates.

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