🌍 Public
Viewing a saved revision (read-only)
38ec0dd14dd44fc98f9da1a3354e3ec5
Fork of Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for three iris species. Hovering over a species name in the color legend fades all non-matching data points while highlighting the selected species. Built with React and D3 v5, the visualization uses d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading. All marks and axes are rendered as SVG elements, with CSS transitions controlled by React state handling hover interactions.
AI-generated descriptionA scatter plot of The Iris Dataset.