🌍 Public
Viewing a saved revision (read-only)
c153fa44448f40258d5cd575aca8f305
Interactive Color Legend
This interactive scatter plot displays the Iris dataset, plotting petal length against petal width, with each species represented by a distinct color. A legend on the right allows users to hover over a species name, which highlights that species' data points while fading all others, emphasizing comparisons between groups. The visualization is built using React, D3’s `scaleLinear`, `scaleOrdinal`, and `extent` for scales, and renders marks as SVG circles with native `<title>` tooltips.
AI-generated descriptionA scatter plot of the iris dataset