Scatter Plot with Menu - React
✓ Published1🌍 Public
A scatter plot displays the Iris dataset, with dropdown menus allowing users to select which numerical attributes (sepal length/width or petal length/width) map to the x and y axes. The visualization uses React components with hooks to manage state, and D3.js scales (scaleLinear) and extent calculations to position SVG circles for each data point. Native SVG elements and user-defined axis components render the axes, while a third dropdown option for species exists in the data options. The chart updates interactively when selections change.
AI-generated descriptionLoads Iris Dataset
MIT Licensed