Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Color with Color Legend

Public visualization

Scatter Plot with Color with Color Legend

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Dec 21, 2021
Created on Dec 21, 2021

This interactive scatter plot visualizes the Iris dataset, showing sepal width against petal length for different Iris species. Data points are rendered as circles with colors mapped to each species, accompanied by a legend that identifies the color-to-species correspondence. Built with React and D3.v5 utilities including `scaleLinear`, `scaleOrdinal`, and `extent`, the visualization uses SVG for rendering. The color legend communicates the species mapping, while tooltips display the petal length value for each point.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data.

Comments

Sign in to join the discussion.

MIT Licensed