Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
Wwindwaver
Last edited Mar 31, 2021
Created on Mar 30, 2021

This scatter plot visualizes the Iris dataset, showing petal length against sepal width for three species of iris. The species are encoded by color using a categorical scale mapped to an ordinal color legend. Built with React and D3 v5, the visualization uses `scaleLinear` for the axes, `scaleOrdinal` for colors, and reactive rendering via the `useData` hook to load CSV data. SVG circles represent each data point, with axes and legend components rendered separately.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes