🌍 Public
Viewing a saved revision (read-only)
429220047f50408d84391cfd7f7aafcb
Interactive Color Legend
This interactive scatter plot displays the Iris dataset, showing petal length against sepal width with points colored by species. A color legend on the right highlights points of a selected species by dimming all others to 20% opacity when the mouse hovers over a legend entry. The visualization is built with React and d3.v5, using d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.csv to load the data. SVG rendering handles both the marks and legend interactions.
AI-generated descriptionA scatter plot of The Iris Dataset.