dv2020-ep35-viz37 - scatter plot w/ interactive color legend
✓ Published0🌍 Public
Zzach b.
Last edited Mar 23, 2023
Created on Mar 23, 2023
This interactive scatter plot visualizes the Iris dataset, mapping petal length against sepal width for individual flower specimens. A color legend categorizes data points by species, and hovering over a legend item highlights that species while fading all other points. Built with React and D3 v5, the visualization uses `scaleLinear` for axes, `scaleOrdinal` for categorical coloring, and SVG-based rendering. The data is loaded remotely via D3’s `csv` function, while hover interactions manage opacity through a `hoveredValue` state.
AI-generated descriptiona scatter plot of The Iris Dataset.
MIT Licensed