Skip to main content
100%

Scatterplot with Color Legend

✓ Published0🌍 Public
Jjanneprice
Last edited May 25, 2022
Created on May 25, 2022

An interactive scatterplot of the Iris dataset maps petal length against sepal width, with points colored by species through a categorical legend. Dropdown menus allow re-selecting X and Y axes from four floral measurements. Built with React and D3 v5, it renders an SVG using `scaleLinear` for axes, `scaleOrdinal` for color encoding, and custom `AxisBottom`, `AxisLeft`, `ColorLegend`, and `Marks` components for tick marks and circles. Tooltips display formatted values on hover.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes