Skip to main content
100%

Interactive color legend

✓ Published1🌍 Public
AAndrea Picciau
Last edited Dec 1, 2021
Created on Nov 3, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to compare any two flower measurements via dropdown menus while colors distinguish species. A custom color legend enables highlighting individual species by hovering, which fades non-matching points to reveal patterns. Built with React and D3 v5, it uses d3.scaleLinear and d3.scaleOrdinal for positioning and coloring, with SVG circles rendered from CSV data loaded via d3.csv.

AI-generated description

A Scatter Plot of the Iris dataset

MIT Licensed

Similar vizzes