Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color Legend

Public visualization

Viewing a saved revision (read-only)

fa7f6dc40d584ae29d35240c85f15de1

Fork of Scatter Plot with Color Legend

0 stars0🌍 Public
SSam
Last edited May 3, 2021
Created on May 1, 2021

This scatter plot visualizes the Iris dataset, mapping petal length and sepal width for 150 flowers. A color legend encodes species, and hovering over a legend item highlights that species by reducing the opacity of all other points. The code uses React with SVG rendering, d3.scaleLinear for axes, d3.scaleOrdinal for colors, and custom React components for marks and legends.

AI-generated description

A scatter plot of The Iris Dataset with color legend.