π Public
Attempt menus and colour
This interactive scatter plot explores the Iris dataset, allowing users to dynamically select which flower measurements appear on the x and y axes via React dropdown menus. Hovering over the color legend for species fades unrelated points and highlights the selected group. Built with React and D3 v6, the visualization uses `scaleLinear`, `scaleOrdinal`, `csv`, `extent`, and `format` to render SVG circles and axes, with brush-free interactivity driven by React state hooks.
AI-generated descriptionA scatter plot showing the Iris dataset and the relationship between Petal Length and Sepal Width (adaptable to any variable) using D3 and React.
MIT Licensed
Comments
Sign in to join the discussion.