Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with Color Legend

Public visualization

Viewing a saved revision (read-only)

fc349cc7aff845ba9aab55b723f17d2b

Scatterplot with Color Legend

0 stars0🌍 Public
Jjanneprice
Last edited May 25, 2022
Created on May 25, 2022

An interactive scatterplot of the Iris dataset maps petal length against sepal width, with points colored by species through a categorical legend. Dropdown menus allow re-selecting X and Y axes from four floral measurements. Built with React and D3 v5, it renders an SVG using `scaleLinear` for axes, `scaleOrdinal` for color encoding, and custom `AxisBottom`, `AxisLeft`, `ColorLegend`, and `Marks` components for tick marks and circles. Tooltips display formatted values on hover.

AI-generated description

A scatter plot of The Iris Dataset.