Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

d353710bfe904135b021dcc4c2ce9df6

Interactive Color Legend

0 stars0🌍 Public
Jjwlam83
Last edited Jan 15, 2022
Created on Jan 15, 2022

This interactive scatter plot visualizes the Iris dataset, encoding petal length on the x-axis, sepal width on the y-axis, and species as color. Hovering over a color legend item fades all other species’ data points, highlighting the selected category. The visualization uses D3’s `scaleLinear` and `scaleOrdinal` for axes and color, with React components for rendering SVG marks and interactive state management.

AI-generated description

A scatter plot of The Iris Dataset.