Skip to main content
Public

Share visualization

Loading preview…

24. 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

24. Scatter Plot with Menus

1
PPrashish Paudel
Last edited Apr 1, 2021
Created on Apr 1, 2021

This interactive scatter plot of the Iris dataset lets users explore relationships between sepal and petal measurements by selecting any attribute for the X and Y axes via dropdown menus. Built with React and D3 v5, it renders an SVG with marks, axes, and axis labels, using D3’s `scaleLinear` for scaling and `extent` for domains. Data is loaded from a remote CSV, and hover tooltips display formatted values. The plot updates dynamically based on user selections.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed