🌍 Public
Viewing a saved revision (read-only)
ef1505d93a4f4d1ca87ea5bf8bb9ddd4
Scatter Plot with Color Legend
A scatter plot displays iris flower measurements, plotting petal length on the x-axis and sepal width on the y-axis, with each species assigned a distinct color from a categorical scale. The visualization uses React to render SVG elements, with D3 utilities like `scaleLinear` for positioning axes, `scaleOrdinal` for color mapping, and `csv` for loading the dataset. Hovering changes point color, and a color legend identifies species.
AI-generated descriptionA program that loads in saome data using d3 utilities and uses React to keep track of the data.