🌍 Public
Viewing a saved revision (read-only)
5a2279ad018a4384a9ef2abbf7f955d9
Scatter Plot with Menu
A scatter plot of the Iris dataset, implemented in React with D3.js for scales and rendering to SVG, allows exploration of relationships between sepal and petal measurements. Two dropdown menus select the attributes mapped to the x and y axes, while species determines point color. Hovering over a species in the color legend highlights only its points by filtering the data, with non-hovered points dimmed. The code uses D3's `scaleLinear`, `scaleOrdinal`, and `extent` for scales and data ranges.
AI-generated descriptionA scatter plot of The Iris Dataset.