Skip to main content
100%

Scatter Plot with Color Legend

✓ Published0🌍 Public
RRiccardo De Lucia
Last edited Aug 27, 2021
Created on Aug 27, 2021

This interactive scatter plot visualizes the Iris flower dataset, showing relationships between four measured attributes (sepal and petal length/width). Users can dynamically select which attributes appear on the x- and y-axes via dropdown menus, while a color legend distinguishes the three iris species. The visualization uses React with D3 v5 scales (d3.scaleLinear, d3.scaleOrdinal) for positioning and coloring, renders marks as SVG circles, and reads the data from a CSV using d3.csv.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes