🌍 Public
Viewing a saved revision (read-only)
df20d7f70c8d441d9fb2598acecda003
Scatterplot with Menus
A scatterplot of the Iris dataset uses two dropdown menus to interactively select the X and Y axes from four numeric attributes. The visualization renders circles in SVG with React, using D3’s `scaleLinear` for axes and data mapping. Dropdown selections trigger state updates via React’s `useState`, re-rendering the chart with new scales and axis labels. Axes are drawn with D3’s `ticks()`, and tooltips show formatted values via the `title` element.
AI-generated descriptionA scatterplot of the Iris dataset