Scatter Plot with Interactive Color Legend
✓ Published0🌍 Public
This scatter plot visualizes the classic Iris dataset, showing petal length against sepal width with points colored by species. A color legend on the right highlights all three Iris species, and hovering over a legend entry fades non-matching points while emphasizing the selected species. The visualization uses React and D3 v5, with D3’s `scaleLinear` for axes, `scaleOrdinal` for categorical coloring, and SVG rendering. It demonstrates interactive filtering through React state management and mouse event handlers.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed