Skip to main content
Public

Share visualization

Loading preview…

Fork of Interactive Color 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

Fork of Interactive Color Legend

0
SSonuSriN
Last edited Mar 23, 2022
Created on Mar 23, 2022

A fork of the Interactive Color Legend visualizes the Iris Dataset as a scatter plot of petal length against sepal width. Built with React and rendered as SVG using D3 scales, circles are colored by species via a `scaleOrdinal` mapping. Hovering over the custom `ColorLegend` groups highlights the matching species by filtering the data and applying a fade opacity to unrelated marks. The implementation uses `AxisBottom`, `AxisLeft`, and `Marks` components, 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