Skip to main content
100%

React Scatter Plot w/ Color Legend

✓ Published1🌍 Public
AAnthony Ynami
Last edited Feb 22, 2021
Created on Feb 22, 2021

This example presents a scatter plot of the Iris dataset, mapping sepal length and width and coloring each point by species, with a color legend displayed to the right. The plot is rendered as an SVG using React components that leverage d3-scale for linear and ordinal scales, while axes are generated with d3’s tick methods and formatting via d3-format, with data loaded using d3.csv.

AI-generated description

A Scatter Plot of the Iris Dataset

MIT Licensed

Similar vizzes