Skip to main content
100%

Scatterplot with Menus

✓ Published1🌍 Public
KK3zter
Last edited Dec 20, 2021
Created on Dec 17, 2021

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 description

A scatterplot of the Iris dataset

MIT Licensed

Similar vizzes