Scatter Plot With Menus
✓ Published0🌍 Public
This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements across different species. Two dropdown menus, built with React, control which variables are plotted on the x and y axes. Hovering over a species in the color legend highlights those data points while dimming others, a feature implemented using React's `useState` and `onMouseEnter` events. Points are rendered as SVG circles using `d3.scaleLinear` for axes and `d3.scaleOrdinal` for colors, with the data fetched from a CSV file via `d3.csv`.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed