Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Color Legend

Public visualization

Interactive Color Legend

0 stars0🌍 Public
BBen Brophy
Last edited Jan 4, 2022
Created on Jan 3, 2022

A scatterplot of the Iris dataset displays petal length against sepal width, with each species colored distinctly. Hovering over a color legend item highlights that species’ points at full opacity while fading all others. The code uses React for component structure and SVG for rendering, with D3’s `scaleLinear`, `scaleOrdinal`, and `extent` for scales and axes. Data loads via D3’s `csv` from a GitHub gist.

AI-generated description

A scatterplot of the Iris Dataset

Comments

Sign in to join the discussion.

MIT Licensed