π Public
28 Scatter Plot With Interactive Color Legend
This scatter plot visualizes the Iris dataset, mapping petal length and sepal width for individual flowers. An interactive color legend highlights data points by species, dimming non-matching points on hover and making the selected species prominent. Built with React and rendered as SVG using D3 scales and axes, the visualization uses `scaleOrdinal` for the color mapping and `scaleLinear` for the spatial coordinates. The legend handles mouse events to filter and focus the display.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.