Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ep. 34 | Scatter Plot with Color Legend

Public visualization

Ep. 34 | Scatter Plot with Color Legend

0 stars1🌍 Public
YYee Han
Last edited Dec 30, 2020
Created on Dec 30, 2020

This scatter plot visualizes the classic Iris dataset, plotting petal length against sepal width for three iris species. Each flower is represented by a colored circle, with species differentiated through an ordinal color scale and a dedicated legend. The visualization is built with React and D3 v6, using `scaleLinear` for axes, `scaleOrdinal` for colors, and SVG circles for marks. The data is loaded asynchronously via `csv` from a GitHub gist, with axis components and a color legend created as reusable React components.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed