Skip to main content
100%

Scatter Plot with Color Legend

✓ Published1🌍 Public
LLaura Johnson
Last edited May 10, 2021
Created on Apr 20, 2021

This interactive scatter plot visualizes the Iris dataset, allowing users to compare sepal and petal measurements across three flower species through dropdown menus for the x and y axes. Each point is colored by species using a d3.scaleOrdinal color scale with an accompanying legend. Built with React and D3 v6, the visualization renders as an SVG and uses d3.scaleLinear for axes, d3.extent for domain calculation, and d3.csv for data loading.

AI-generated description

Scatter Plot with menus using The Iris Dataset using D3 utilities and React.

MIT Licensed

Similar vizzes