🌍 Public
Viewing a saved revision (read-only)
a2c1ebcd5375487785bbfe4bdc3e6d1e
Scatter Plot with Color with Color Legend
This interactive scatter plot visualizes the Iris dataset, showing sepal width against petal length for different Iris species. Data points are rendered as circles with colors mapped to each species, accompanied by a legend that identifies the color-to-species correspondence. Built with React and D3.v5 utilities including `scaleLinear`, `scaleOrdinal`, and `extent`, the visualization uses SVG for rendering. The color legend communicates the species mapping, while tooltips display the petal length value for each point.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data.