Fork of Scatter Plot with Menus
This interactive scatter plot visualizes the Iris dataset, letting users switch which flower measurements (sepal length, sepal width, petal length, petal width, or species) appear on the x- and y-axes via dropdown menus. Built with React and D3 v5, the visualization renders SVG circles for each data point, with axes generated using custom scale functions and tick components. The code includes interactive dropdown components that trigger state updates, allowing real-time switching between the dataset’s numeric attributes.