Skip to main content
Public

Share visualization

Loading preview…

Grid Menus Animated Species Stratified Scatter Plot

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

Grid Menus Animated Species Stratified Scatter Plot

0
TToly
Last edited Dec 31, 2022
Created on Dec 31, 2022

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements through three dropdown menus that control the x-axis, y-axis, and species filtering. The visualization uses D3 v6 with SVG rendering and animated transitions via the selection.join pattern and transition API. When species selection changes, the plot smoothly animates between showing all data points and specific species, with color shifts from blue to salmon for filtered subsets. The reusable menu and scatter plot components handle data binding and axis 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