Scatter Plot with Color Legend
✓ Published1🌍 Public
This interactive scatter plot visualizes the Iris dataset, displaying sepal and petal measurements for three flower species distinguished by color. Users can switch the x- and y-axes between four measurement attributes via dropdown menus. The example uses React with D3 v6 scales and axes, rendering SVG circles and a custom color legend. Data is loaded asynchronously using D3’s `csv` loader and mapped to linear scales with `.nice()` formatting.
AI-generated descriptionA scatter plot of Iris Data with color legend.
MIT Licensed