🌍 Public
Viewing a saved revision (read-only)
e660e3e5163e46d1936dad3c9885fc7c
Interactive Color Legend
This interactive scatter plot visualizes the Iris Dataset, plotting petal length against sepal width with points colored by species. A color legend on the right highlights one species at a time when hovered, fading the remaining points to 20% opacity for emphasis. Built with React and d3.v5, it uses d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.csv for data loading. SVG rendering is handled through React components, with hover interactions managed via onMouseEnter and onMouseOut events on legend ticks.
AI-generated descriptionA scatter plot of The Iris Dataset.