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)

9d85c879b86743a49c6d92409b937a48

Fork of Interactive Color Legend

0 stars0🌍 Public
Hhung2606
Last edited Oct 19, 2021
Created on Oct 19, 2021

This interactive scatter plot shows the Iris dataset, mapping petal length and sepal width while coloring points by species. A color legend to the right of the plot allows hovering over a species name to highlight the corresponding points and fade all others. The visualization is built with React and D3's scaleLinear, scaleOrdinal, and csv loading functions, rendering SVG marks and axes. Hover interactions are managed through React state, with fading applied by adjusting opacity on both the legend entries and data circles.

AI-generated description

A scatter plot of The Iris Dataset.