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)

9ef2eec539c942f1bb9b7234e28314db

Scatter Plot with Color Legend

1 star4🌍 Public
MMichael Bruno
Last edited Feb 3, 2023
Created on Feb 3, 2023

This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements across three flower species. Dropdown menus let viewers switch the X and Y axes among four numeric attributes, while a color legend distinguishes species using d3.scaleOrdinal with three categorical colors. The visualization renders as SVG using React components, with d3.scaleLinear handling axis scales and d3.extent computing domains. Marks are drawn as colored circles with tooltips showing values. The data loads asynchronously via d3.csv from a GitHub gist.

AI-generated description

A scatter plot of The Iris Dataset.