Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
GGayan Priyadarshana
Last edited Aug 3, 2023
Created on Aug 3, 2023

A scatter plot of the Iris Dataset displays sepal length against sepal width, with points colored by species via a categorical scale. Hovering over the color legend highlights that species' points while fading others to 20% opacity. The visualization uses React with d3-scale for linear and ordinal scales, rendering SVG circles and axes with custom components. Data loads from a CSV via d3.csv, and interactivity relies on React state for hovered values.

AI-generated description

A scatter plot of the Iris Dataset

MIT Licensed

Similar vizzes