Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

deb2c60599a84981ac5488817aeade2d

Fork of Interactive Color Legend

0 stars0🌍 Public
Wwzhang88
Last edited Nov 23, 2021
Created on Nov 23, 2021

This interactive scatter plot visualizes the Iris Dataset, plotting petal length against sepal width for three species of iris flowers. Users can hover over a species in the color legend to highlight only those corresponding data points while fading the others. Built with React and D3 v5, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for categorical colors, and SVG circles rendered via React components. The legend interactions manage hover state to dynamically adjust opacity, providing a clear comparison between species.

AI-generated description

A scatter plot of The Iris Dataset.