Viewing a saved revision (read-only)
6ddb23d094f3471f8f174d2a2875d000
Polished Scatterplot with menus
This interactive scatterplot displays the Iris dataset, allowing users to select which measured attribute (sepal length, sepal width, petal length, or petal width) appears on the X and Y axes via dropdown menus. The visualization updates the linear scales, axes, and positioned circles in response to menu changes. Built with React and D3 v6, it uses `scaleLinear` for axis scaling, `csv` for data loading, and SVG for rendering. The polished styling includes custom menus from `react-dropdown` and axis formatting with `d3.format`.
AI-generated descriptionIris dataset used to display scatter plot. https://gist.githubusercontent.com/surikmeetr/a0165a953a1b5450052bdbc3debdd3fc/raw/0e7a9b0a5d22642a06d3d5b9bcbad9890c8ee534/iris.csv