Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Interactive Color Legend

0 stars0🌍 Public
KK3zter
Last edited Dec 17, 2021
Created on Dec 17, 2021

A scatterplot of the Iris dataset shows petal length versus sepal width, colored by species. Hovering over a legend item highlights that species and fades the rest. Built with React and D3 v7, it uses `d3.scaleOrdinal` for colors and `d3.extent` for axes, updating SVG circles via state changes.

AI-generated description

A scatterplot of the Iris dataset

Comments

Sign in to join the discussion.

MIT Licensed