Scatter Plot Iris with Interactive Color Legend
✓ Published0🌍 Public
This interactive scatter plot displays the classic Iris dataset, mapping selected measurements like petal length and sepal width onto the x- and y-axes via dropdown menus. The species of each flower is encoded through an ordinal color scale and shown in a legend. Hovering over a legend entry highlights matching data points while fading others, using mouse events and opacity transitions. The visualization is built with React, D3’s `scaleLinear` and `scaleOrdinal`, and rendered as SVG elements like circles from the `Marks` component.
AI-generated descriptionA Scatter Plot of the Iris Dataset with a Color Legend.
MIT Licensed