Skip to main content
100%

Scatter Plot with Menus with color scale and legend

✓ Published1🌍 Public
Rrajamrit-singh
Last edited Mar 22, 2023
Created on Mar 22, 2023

This interactive scatter plot visualizes the Iris Dataset, allowing users to dynamically select which flower measurements appear on the x and y axes via two dropdown menus. Each point is colored by species, with an accompanying color legend. The visualization is built with React and D3 v5, using `scaleLinear` for axes, `scaleOrdinal` for categorical colors, and React state to update the chart based on menu selections. Data is loaded asynchronously with `csv` from a GitHub URL and rendered as SVG circles.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes