🌍 Public
Viewing a saved revision (read-only)
3384fac6446d483dae490d70bd9ec6be
Fork of Interactive Color Legend
This interactive scatter plot uses the classic Iris Dataset to visualize petal length against sepal width, with species encoded by color. A color legend allows users to hover over species categories to highlight corresponding data points and fade the rest, revealing clusters and comparisons. Built with React and D3 v5, the visualization renders as an SVG and uses `scaleOrdinal` for color mapping, `scaleLinear` for axes, and mouse event handlers to manage hover states and opacity.
AI-generated descriptionA scatter plot of The Iris Dataset.