Scatter Plot with Menus for X
✓ Published1🌍 Public
A scatter plot displays the Iris dataset, with sepal width on the y-axis and a user-selectable attribute (sepal length, sepal width, petal length, or petal width) on the x-axis. A React dropdown menu updates the x-axis attribute, triggering a re-render of the visualization. The chart uses React state, D3 utilities such as `scaleLinear`, `extent`, and `csv` for data loading, and SVG elements for rendering circles with hover tooltips.
AI-generated descriptionA program that loads in saome data using d3 utilities and uses React to keep track of the data.
MIT Licensed