Skip to main content
Public

Share visualization

Loading preview…

Steve's Interactive Scatter Plot with Color and Legend

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

Steve's Interactive Scatter Plot with Color and Legend

1
Bbootshine2
Last edited Oct 10, 2019
Created on Oct 9, 2019

This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for individual flowers. Using React and D3 v5, the SVG-based visualization employs `d3.scaleLinear` for both axes and `d3.scaleOrdinal` for species-based coloring. Hovering over the color legend highlights the corresponding species by fading other points to 30% opacity, while native SVG `<title>` elements provide basic tooltips. The chart includes labeled axes and a species legend, with data loaded asynchronously via D3’s `csv` parser.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed