🌍 Public
Viewing a saved revision (read-only)
be24ed6baf3f4ae58be192a87512e319
Interactive Color Legend
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 descriptionA scatter plot of The Iris Dataset.