Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter 🅿️lot w/ ©️olor Legend

Public visualization

Viewing a saved revision (read-only)

f697cc0ef5ba402391b1af5ea4b3c270

Scatter 🅿️lot w/ ©️olor Legend

0 stars0🌍 Public
Tthom
Last edited Jul 28, 2023
Created on Jul 28, 2023

This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements across three flower species. The visualization uses d3.scaleLinear for x and y axes, d3.scaleOrdinal with a categorical color palette for species identification, and React dropdown menus to dynamically switch which attributes are plotted on each axis. A custom ColorLegend component renders colored circles with species labels, while Marks components draw SVG circles with native tooltips displaying formatted values. The chart uses d3.csv for data loading and SVG rendering within a React framework.

AI-generated description

A scatter plot of The Iris Dataset.