Fork of C4gt demo
✓ Published0🌍 Public
This interactive scatter plot displays the Iris dataset, allowing users to explore relationships between sepal and petal measurements by selecting both the X and Y attributes from dropdown menus. Built with React, D3 v5, and the react-dropdown library, the visualization renders as an SVG with reusable AxisBottom, AxisLeft, and Marks components. D3’s scaleLinear and extent functions compute the scales, and the marks include native SVG `<title>` tooltips. Users switch attributes via React state updates, triggering a re-render of the axes and circles.
AI-generated descriptionMIT Licensed