Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
TThomas Cormican
Last edited Jan 11, 2022
Created on Jan 11, 2022

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes