Scatter Plot with Color Legend
✓ Published1🌍 Public
This scatter plot visualizes the Iris dataset, displaying sepal length against sepal width for three flower species. Each circle’s color encodes species membership, with a color legend positioned to the right identifying the categories. Built with React and D3 v7, the chart uses `scaleLinear` for axes, `scaleOrdinal` for color mapping, and custom SVG components for axes, marks, and legend. Data loads from a remote CSV via `d3.csv`, with hover tooltips providing exact values.
AI-generated descriptionA program that loads data about CSS named colors and uses React to render the data.
MIT Licensed