Skip to main content
100%

Scatterplot with color legend

✓ Published1🌍 Public
MMarco Malvicini
Last edited Apr 19, 2021
Created on Apr 19, 2021

This interactive scatterplot displays the Iris flower dataset, plotting sepal and petal measurements with points colored by species via a d3.scaleOrdinal color legend. Users select which attributes appear on the X and Y axes using React dropdown menus. The visualization uses React state to manage selections, d3.csv for data loading, and d3.scaleLinear with extent for axis scaling, rendered as SVG circles with tooltips.

AI-generated description

A program that loads in some data using d3 utilities and use react state to store the data

MIT Licensed

Similar vizzes