Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

e4680fb171a8476a8bedec5d5de5f3e4

Interactive Color Legend

0 stars0🌍 Public
TTatyana Milanova
Last edited Oct 6, 2023
Created on Oct 6, 2023

This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width across three species. Users can hover over the ordinal color legend to highlight points of a selected species while fading others, using React state to manage hover interactions. The visualization is rendered with SVG elements, with axes and scales built using d3.scaleLinear and d3.scaleOrdinal, while d3.csv loads the dataset.

AI-generated description

A scatter plot of The Iris Dataset.