Scatter Plot with Colors and Menus
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, allowing users to explore relationships between sepal and petal measurements. Two dropdown menus let viewers independently select which attribute appears on the x- and y-axes, while the chart updates dynamically using React state management. The visualization is built with D3 v7 for scales, axes, and SVG rendering, and React for component structure and user interaction. Data is loaded asynchronously via D3's `csv` utility, and tooltips display values on hover.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
Plotting the Iris dataset
MIT Licensed