Skip to main content
100%

Fork of Scatter Plot with Menus

✓ Published0🌍 Public
Hhung2606
Last edited Oct 18, 2021
Created on Oct 18, 2021

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 description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes