dv.35 - interactive color legend
✓ Published4🌍 Public
Zzach b.
Last edited Mar 18, 2021
Created on Nov 9, 2020
Forked from dv.34 - snazzy scatter plot: w/ color legend
This interactive scatter plot displays the classic Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting axes via React dropdowns or swapping them with a button. The visualization uses D3 scales for positioning and an ordinal color scale to encode species, rendered as SVG circles. An interactive color legend highlights points of a selected species by fading others, implemented with React state and mouse event handlers.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed