Scatter Plot with menu
This interactive scatter plot uses the classic Iris dataset to explore relationships between four flower measurements (sepal length, sepal width, petal length, and petal width). Dropdown menus allow users to select which measurement appears on the x- and y-axes, with the data points colored by species. A color legend on the right highlights points from a single species on mouseover, dimming the others. The visualization is built with React, rendering to SVG, using d3.scaleLinear for axes, d3.scaleOrdinal for colors, and d3.extent for domain computation, with data loaded via d3.csv.