Scatter Plot with Color Legend
✓ Published0🌍 Public
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.
MIT Licensed