Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Color Legend

Public visualization

Viewing a saved revision (read-only)

9ce6690173f8476bb7a7041840804053

Scatter Plot with Color Legend

0 stars1🌍 Public
MMario Ibarra
Last edited Apr 21, 2021
Created on Apr 21, 2021

This interactive scatter plot displays measurements from the Iris Dataset, letting users compare four flower attributes (sepal and petal length/width) by selecting which to plot on the X and Y axes. Each point is colored by iris species, with a color legend identifying the three varieties. The visualization is built with React and uses D3’s `scaleLinear`, `scaleOrdinal`, and `extent` functions to map data to positions and colors, rendering circles as SVG elements. Dropdown menus control the axis selections, while D3’s `csv` loads the data asynchronously.

AI-generated description

A scatter plot of The Iris Dataset. Scatter Plot with Menus