🌍 Public
Viewing a saved revision (read-only)
fc349cc7aff845ba9aab55b723f17d2b
Scatterplot with Color Legend
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 descriptionA scatter plot of The Iris Dataset.