Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend

Public visualization

Viewing a saved revision (read-only)

13b834f53eae421f96af2e7804cb54b5

Fork of Interactive Color Legend

0 stars0🌍 Public
Eexchoco
Last edited Sep 27, 2022
Created on Sep 26, 2022

This interactive scatterplot of the Iris flower dataset lets users explore relationships between four measured attributes (sepal length/width, petal length/width) by selecting which attribute appears on each axis via drop-down menus. Points are colored by the three Iris species, with a color legend that fades the opacity of non-hovered classes and filters the underlying data on hover. Built with React and D3 v5, it uses `d3.scaleLinear` for axes, `d3.scaleOrdinal` for color mapping, and renders marks as SVG circles with tooltips.

AI-generated description