Skip to main content
100%

Scatter Plot with Menus

✓ Published1🌍 Public
SSonja Ek
Last edited Jun 7, 2021
Created on Jun 7, 2021

This interactive scatter plot visualizes the Iris Dataset, allowing users to explore relationships between four numeric attributes—sepal length, sepal width, petal length, and petal width—by selecting any two for the X and Y axes via dropdown menus. Built with React and D3 v6, the visualization renders SVG circles with tooltips showing exact values during hover. The code uses `scaleLinear` for axes, `extent` to compute domains, and custom React components for axes and dropdowns. Axis labels update dynamically to reflect the selected attributes, making the plot adaptable for comparing different feature pairs.

AI-generated description

A scatter plot of the Iris Dataset, this time with menus for changing attributes.

MIT Licensed

Similar vizzes