Skip to main content
Public

Share visualization

Loading preview…

Trial 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

Trial of Interactive Color Legend

1
DDeborah Ong
Last edited Apr 5, 2021
Created on Apr 5, 2021

This interactive scatter plot visualizes the Iris dataset, using the D3.js version 5 library within a React framework to render SVG elements. Users can select which attributes to display on the X and Y axes via dropdown menus, with the initial setup showing species data colored by unique categories. The visualization includes an interactive color legend that allows users to hover over categorical labels to highlight specific data points while fading the others, implemented through custom React components that manage hover state and opacity transitions.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed