🌍 Public
Viewing a saved revision (read-only)
d9353860b0cf4e788c218e34ed98c26b
Fork of Scatter Plot with Menus
This interactive scatter plot, built with React and D3.js v5, visualizes the classic Iris Dataset, which contains measurements of sepal and petal dimensions for three iris species. Two dropdown menus allow users to independently select which quantitative attribute is mapped to the x-axis and y-axis, dynamically updating the linear scales and the displayed points. The visualization renders as an SVG, with each data point drawn as a circle. The code uses `d3.csv` to load the data and `d3.scaleLinear` to generate the axes, with React's `useState` managing the selected attributes.
AI-generated descriptionA scatter plot of The Iris Dataset.