Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Wwenleicao
Last edited Oct 10, 2019
Created on Oct 9, 2019

This interactive scatter plot visualizes the Iris Dataset, plotting petal length against sepal width with points colored by species. A color legend on the right highlights one species at a time when hovered, fading the remaining points to 20% opacity for emphasis. Built with React and d3.v5, it uses d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.csv for data loading. SVG rendering is handled through React components, with hover interactions managed via onMouseEnter and onMouseOut events on legend ticks.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes