Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
AAgustina Farias
Last edited Oct 12, 2020
Created on Oct 12, 2020

This interactive scatter plot visualizes the Iris dataset, showing petal length against sepal width, with each species distinguished by color. Hovering over the color legend highlights points from the corresponding species while dimming all others, making species comparisons intuitive. Built with React and rendered as SVG, it uses d3.scaleLinear for axes, d3.scaleOrdinal for colors, and custom React components for axes, marks, and the interactive legend. Data is loaded asynchronously from a CSV using d3.csv, with tooltips provided via SVG title elements.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes