🌍 Public
Scatter Plot with Interactive Color Legend
This interactive scatter plot visualizes the Iris dataset, mapping petal length and sepal width along the axes and encoding species with color. Hovering over a legend item highlights the corresponding species’ points while dimming others. Built with React and D3 v5, it uses `scaleOrdinal` for color, `scaleLinear` for positions, and custom React components for axes, marks, and the interactive legend. Data is loaded as CSV and rendered as SVG circles with tooltips.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.