Scatter Plot with Color Legend
✓ Published1🌍 Public
This scatter plot visualizes the Iris Dataset, showing how flower measurements correlate across species. The visualization allows interactive exploration by letting users select which sepal or petal attributes appear on the x and y axes via dropdown menus. Using React and D3 v7, the chart renders SVG circles colored by species through a `scaleOrdinal` color scale, with axes generated by custom `AxisBottom` and `AxisLeft` components and a supplementary `ColorLegend`. Data loads asynchronously via D3’s `csv` parser from a remote GitHub gist.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed