Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with Color Legend Interactive

Public visualization

Viewing a saved revision (read-only)

065c4d5986a04ee6a84063ccfc259147

Scatterplot with Color Legend Interactive

0 stars0🌍 Public
MMark Lam
Last edited Aug 11, 2021
Created on Aug 6, 2021

This interactive scatterplot displays the Iris flower dataset, allowing the user to select which attributes are mapped to the x- and y-axes via two dropdown menus. A color legend on the right encodes the flower species, and hovering over a legend entry dims points from other species while highlighting the matching ones. Built with React and D3 v5, it uses `scaleLinear`, `scaleOrdinal`, and custom React components for axes and marks, rendering to SVG from parsed CSV data.

AI-generated description

Axes with 3D