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)

1353476cdbd04038b18c1b0c65dd074d

Fork of Interactive Color Legend

0 stars0🌍 Public
Eeourm20
Last edited Jun 4, 2021
Created on Jun 4, 2021

This example visualizes the Iris dataset as a scatter plot, mapping petal length and sepal width on the axes while coloring points by species. A custom interactive color legend, built with React and D3.js scaleOrdinal, is placed to the right; hovering over a legend entry fades unrelated points and highlights only the selected species. The rendering uses SVG circles generated from D3.js scaleLinear scales, with axes drawn from D3’s tick formatter.

AI-generated description

A scatter plot of The Iris Dataset.