Skip to main content
100%

Interactive Color Legend

✓ Published0🌍 Public
Nnpelliccia
Last edited Sep 14, 2021
Created on Sep 14, 2021

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 description

A scatter plot of the iris dataset

MIT Licensed

Similar vizzes