Skip to main content
Public

Share visualization

Loading preview…

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

0
YYedrup
Last edited Jan 31, 2021
Created on Jan 30, 2021

This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements through drop-down menus. The React application renders an SVG chart where the x-axis and y-axis attributes are dynamically selected, with axes and marks updating in response. The code leverages d3.scaleLinear for scaling, d3.extent for domain calculation, and d3.csv for data loading, while React's useState manages the currently selected attributes. The visualization includes axes with tick marks, hover tooltips, and labels for the selected attributes.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed