Scatter Plot with Menus!!
✓ Published1🌍 Public
AAndre J Denais
Last edited Sep 24, 2020
Created on Sep 23, 2020
Forked from Scatter Plot, slightly stylized with color
This interactive scatter plot displays the Iris Dataset, allowing users to select which sepal and petal measurements appear on the x and y axes via two dropdown menus. The visualization is built with React and D3 v6, rendering the points as SVG circles with tooltips. Axes are constructed using D3’s linear scale and tick generation, with labels derived from the selected attributes. The code initializes with petal length on the x-axis and sepal width on the y-axis, and the dataset is loaded from a CSV file using D3’s csv function.
AI-generated descriptionA scatter plot of The Iris Dataset with Menus!!
MIT Licensed