Scatter Plot with Menus (x & y)
✓ Published1🌍 Public
This interactive scatter plot displays the Iris flower dataset, showing the relationship between four measured attributes (sepal length/width, petal length/width) as adjustable X and Y axes. Two dropdown menus in React let users select which attribute appears on each axis, dynamically updating the visualization. The code uses d3.csv to load data, d3.scaleLinear and d3.extent for scaling, and renders axes and circle marks as SVG elements. Hovering over a circle reveals its exact value via a native title tooltip.
AI-generated descriptionA program that loads in saome data using d3 utilities and uses React to keep track of the data.
MIT Licensed