🌍 Public
Viewing a saved revision (read-only)
7bbbc11e6f8248348e5f3f6c385b9b70
Scatter Plot with Menus
This interactive scatter plot visualizes the Iris flower dataset, allowing users to select which numeric attributes to plot on the X and Y axes via two dropdown menus. React state manages the selected attributes and triggers re-rendering of the SVG chart, while D3 (d3.scaleLinear, d3.extent) handles scaling and data loading from the CSV file. The chart includes labeled axes with tick marks and circles with tooltips for each data point.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.