Skip to main content
Public

Share visualization

Loading preview…

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

Scatter Plot with Menus

1
MMilena Belianovich Holtman
Last edited Oct 13, 2022
Created on Oct 13, 2022

This interactive scatter plot visualizes the Iris dataset, showing four flower measurements (sepal and petal length/width) as adjustable axes. Dropdown menus allow the user to select which measurement appears on the x- and y-axes, with axis labels updating accordingly. The React application uses D3’s `scaleLinear`, `extent`, and `format` for scaling and tick formatting, rendering SVG circles with tooltips via the `Marks` component. Data is loaded asynchronously from a CSV using `d3.csv`, and the visualization is built in React with D3 for scales and axes.

AI-generated description

A scatter plot of The Iris Dataset

Comments

Sign in to join the discussion.

MIT Licensed