Skip to main content
100%

Scatter Plot with Menus, Color Legend

✓ Published1🌍 Public
SSai Phaltankar
Last edited May 31, 2022
Created on May 31, 2022

This interactive scatter plot displays the Iris flower dataset, allowing users to explore relationships between sepal and petal measurements across three species. Two dropdown menus let viewers switch which quantitative attributes appear on the x and y axes, while a color legend maps each species to a distinct hue. The visualization uses React state management with d3.scaleLinear for axes, d3.scaleOrdinal for colors, and SVG circles rendered via React components. CSV data is loaded asynchronously using d3.csv, with axes and labels drawn from reusable custom React components.

AI-generated description

Scatter Plot with menus

MIT Licensed

Similar vizzes