Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Color Legend Scatter Plot

Public visualization

Color Legend Scatter Plot

0 stars1🌍 Public
TTsaiJie
Last edited May 3, 2021
Created on May 3, 2021
Forked from Color Scatter Plot

This example visualizes the Iris Dataset, plotting petal length against sepal width for individual flowers. A categorical color legend distinguishes the three iris species via a d3.scaleOrdinal color scale with custom ranges. The visualization uses React components to render SVG elements, with d3.scaleLinear for both axes and separate AxisBottom, AxisLeft, Marks, and ColorLegend components. Data is loaded asynchronously using d3.csv from a remote Gist URL.

AI-generated description

A scatter plot of The Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed