Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

c76bb98ef3f343ee8676f2711ad3d2d9

Interactive Color Legend

0 stars0🌍 Public
WWei-Che Chang
Last edited Sep 29, 2020
Created on Sep 27, 2020

A scatter plot of the Iris dataset shows petal length against sepal width, with points colored by species. An interactive color legend on the right highlights points of a selected species while fading all others. Built with React and D3, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and SVG circles. Mouse events on the legend trigger a re-render that filters the data into separate highlighted and faded point layers.

AI-generated description

A scatter plot of The Iris Dataset.