scatter plot with menus
✓ Published1🌍 Public
This interactive scatter plot visualizes the Iris flower dataset, allowing users to explore relationships between four measurements (sepal length/width and petal length/width). Two dropdown menus, built with React's useState hook and a custom Dropdown component, dynamically select which attributes map to the x-axis and y-axis. The visualization uses d3.scaleLinear for scales and d3.extent for domain calculation, rendering SVG circles with native `<title>` tooltips. Axes are generated manually through d3 scale ticks, with data loaded asynchronously via d3.csv.
AI-generated descriptionscatter plot with react and d3
[Data (https://gist.github.com/curran/a08a1080b88344b0c8a7).
MIT Licensed