Scatter Plot with Menu
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, allowing users to switch between different sepal and petal measurements on the x and y axes using two dropdown menus. The chart uses d3.scaleLinear for axes, d3.scaleOrdinal for species colors, and SVG circles rendered via React components. Hovering over a species in the color legend fades non-matching points using React state, while the MarksWithFade component manages mouse events to provide interactive feedback.
AI-generated descriptionA program that loads in the Iris dataset and generates an interactive scatter plot using D3 and React.
MIT Licensed