35) Interactive Color Legend
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset’s petal length and sepal width, colored by species. A hoverable color legend lets users highlight points of a single species while fading others. Built with React and D3 v5, it uses `scaleLinear`, `scaleOrdinal`, and SVG circles, with mouse events on legend items updating state to toggle point opacity via the `Marks` and `ColorLegend` components.
AI-generated descriptionA program that loads in the Iris data set and and uses React to render the data.
MIT Licensed