Skip to main content
100%

Fork of Polished Scatter Plot with Menus

✓ Published0🌍 Public
YYu Lun Hsu
Last edited Sep 25, 2022
Created on Sep 25, 2022

A scatter plot of the Iris dataset allows users to explore relationships between measurements by selecting the x and y attributes from dropdown menus. Built with React and D3 v5, the visualization renders SVG circles for each sample, with axes and labels updating dynamically based on user selections. The code uses `scaleLinear` for scaling, `extent` for domain calculation, and `csv` for data loading. Two `ReactDropdown` menus control which numerical attributes—sepal length, width, and petal length or width—are plotted, with the selected values reflected in the axis labels.

AI-generated description

A scatter plot of The Iris Dataset.

MIT Licensed

Similar vizzes