Skip to main content
100%

dv2020-ep35-viz36 - scatter plot w/ interactive color legend

✓ Published1🌍 Public
Zzach b.
Last edited Mar 23, 2023
Created on Mar 23, 2023

This scatter plot visualizes the Iris Dataset, showing petal length against sepal width with points colored by species. An interactive color legend on the right allows users to hover over a species name, which highlights points of that species by fading all other circles to partial opacity. The visualization uses React with D3 v5 scales and SVG rendering, employing `scaleLinear`, `scaleOrdinal`, and custom React components for axes, marks, and the legend. Data is loaded asynchronously via D3's `csv` method from a GitHub gist.

AI-generated description

a scatter plot of The Iris Dataset.

Episode 35

MIT Licensed

Similar vizzes