🌍 Public
Viewing a saved revision (read-only)
ed66cd787ffe4d88ad6ab289dadc1d68
Fork of Scatter Plot with Menus
This is an interactive scatter plot of the classic Iris Dataset, featuring dropdown menus to select which quantitative attribute is mapped to the x and y axes. The visualization displays all 150 flowers, with each point’s species identifiable through the available attributes. Built with React and d3, the code uses React’s `useState` hooks to manage selected axes, d3’s `scaleLinear`, `extent`, and `csv` for data loading and scaling, and custom React components for the axes and marks. SVG circles render the data points, with axis labels updating dynamically based on menu selections.
AI-generated descriptionA scatter plot of The Iris Dataset.