Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus with color scale and legend

Public visualization

Scatter Plot with Menus with color scale and legend

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed