Skip to main content
100%

Color Legend Scatter Plot

✓ Published1🌍 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.

MIT Licensed

Similar vizzes