Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot Iris with Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

4078dd0d13354ae5924710415fce9a01

Scatter Plot Iris with Interactive Color Legend

0 stars0🌍 Public
EEFezerKW
Last edited Oct 6, 2021
Created on Oct 6, 2021

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 description

A Scatter Plot of the Iris Dataset with a Color Legend.