Scatterplot with color and legend
✓ Published1🌍 Public
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 descriptionIris dataset used to display scatter plot. https://gist.githubusercontent.com/surikmeetr/a0165a953a1b5450052bdbc3debdd3fc/raw/0e7a9b0a5d22642a06d3d5b9bcbad9890c8ee534/iris.csv
MIT Licensed