🌍 Public
Polished Scatter Plot with Menus
This interactive scatter plot displays the Iris dataset, allowing users to select which flower measurements appear on the x- and y-axes via dropdown menus. Built with React and D3 v7, the visualization uses `d3.csv` to load data, `scaleLinear` for axis scaling, and SVG rendering with custom React components for axes and marks. Tooltips reveal precise values on hover, while axis labels dynamically update based on menu selections.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
Plotting the Iris dataset
MIT Licensed
Comments
Sign in to join the discussion.