Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
KKazushige Okuma
Last edited Oct 25, 2021
Created on Oct 24, 2021

This interactive scatter plot visualizes the Iris flower dataset, allowing users to compare any two measured attributes. Positioned on the x- and y-axes are dropdown-selected variables, while color encodes the flower species. The visualization uses React for the interface and D3 v7’s `scaleLinear`, `scaleOrdinal`, `csv`, and `extent` to load and map data to SVG circles. Hovering over a point reveals its exact value via a native tooltip. A color legend with categorical swatches clarifies the species mapping.

AI-generated description

Scatter plot of Iris Data Set

MIT Licensed

Similar vizzes