Skip to main content
100%

Scatter Plot with Color Legend

✓ Published0🌍 Public
DDean Bozic
Last edited Oct 28, 2020
Created on Oct 27, 2020

A scatter plot of the Iris Dataset displays petal length against sepal width, with points colored by species and a legend identifying each species. Built with React and D3 v5, it uses `scaleLinear` for position, `scaleOrdinal` for color, and renders SVG circles via the `Marks` component. The chart includes custom axes and a color legend, with data loaded asynchronously using `d3.csv` and tooltips provided by SVG `<title>` elements.

AI-generated description

A scatter plot of The Iris Dataset with color legend.

MIT Licensed

Similar vizzes