Skip to main content
100%

Fork of Interactive Color Legend

✓ Published0🌍 Public
MMohaimin-1935
Last edited Aug 21, 2021
Created on Aug 21, 2021

This interactive scatter plot visualizes the Iris dataset, displaying petal length against sepal width for three iris species. Users can hover over the color legend to highlight a selected species while fading non-matching points, using React state management. The visualization uses d3.scaleLinear and d3.scaleOrdinal for positioning and color encoding, with SVG circles rendered via React components. Data is loaded asynchronously from a CSV using d3.csv, and axes are constructed with custom React components that generate SVG tick marks and labels.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes