🌍 Public
Viewing a saved revision (read-only)
d89651227b774bd58974a0b1fa2dbe97
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.