🌍 Public
Viewing a saved revision (read-only)
80272b6afd3e43f6a88d19b1c49b33a1
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.