🌍 Public
Viewing a saved revision (read-only)
9c2b4429c40c4b2787a30afc30a4f74b
Interactive Color Legend
This interactive scatter plot visualizes the Iris Dataset, plotting petal length against sepal width. The color legend, implemented using d3.scaleOrdinal, indicates species. When hovering over a legend item, a React state variable filters the data to highlight only the selected species, dimming all other points through an opacity change. The chart is rendered as an SVG using React, with axes built from d3.scaleLinear.
AI-generated descriptionA scatter plot of The Iris Dataset.
This plot was made by forking Scatter Plot with Color Legend and modifying based on the CS573 Week 7 video "Interactive Color Legend".