🌍 Public
Viewing a saved revision (read-only)
9d85c879b86743a49c6d92409b937a48
Fork of Interactive Color Legend
This interactive scatter plot shows the Iris dataset, mapping petal length and sepal width while coloring points by species. A color legend to the right of the plot allows hovering over a species name to highlight the corresponding points and fade all others. The visualization is built with React and D3's scaleLinear, scaleOrdinal, and csv loading functions, rendering SVG marks and axes. Hover interactions are managed through React state, with fading applied by adjusting opacity on both the legend entries and data circles.
AI-generated descriptionA scatter plot of The Iris Dataset.