Skip to main content
100%

Scatterplot with color and legend

✓ Published1🌍 Public
Ssurikmeetr
Last edited Mar 15, 2021
Created on Mar 15, 2021

This interactive scatterplot displays the Iris dataset, with dropdown menus letting users choose which sepal or petal measurements appear on the x- and y-axes. Points are colored by species via a categorical color scale, with a legend showing the three iris varieties. Built with React and D3 v6, it uses `scaleLinear` for axes, `scaleOrdinal` for colors, and `csv` to load data from a GitHub gist. SVG rendering handles marks, axes, and legend, while the react-dropdown library provides the selection controls.

AI-generated description
MIT Licensed

Similar vizzes