Scatter Plot with Menus
✓ Published1🌍 Public
This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between sepal and petal measurements. Two dropdown menus let viewers select which attribute is plotted on the x-axis and y-axis, with the chart updating dynamically to reflect their choices. Built with React and D3 v5, the visualization renders points as SVG circles, using D3’s scaleLinear and extent for axis scaling. The code employs reusable components for axes, marks, and dropdowns, with axis labels and tick formatting courtesy of D3’s format function.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed