Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Interactive color Legend

Public visualization

Viewing a saved revision (read-only)

b975d28834ae4fdfa5d7c1791672c043

Scatter Plot with Interactive color Legend

0 stars0🌍 Public
SSushan Prajapati
Last edited May 25, 2021
Created on May 25, 2021

This scatter plot visualizes the Iris Dataset, showing petal length against sepal width, with each point colored by species. An interactive color legend allows hovering over a species to highlight its corresponding data points while fading the others. Built with React and D3 v5, the visualization uses SVG for rendering, with scales and axes from `d3.scaleLinear` and `d3.scaleOrdinal`, and custom React components for marks and legends, interacting through hover state to update point opacity.

AI-generated description

A scatter plot of The Iris Dataset.