Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with Menus

Public visualization

Viewing a saved revision (read-only)

df20d7f70c8d441d9fb2598acecda003

Scatterplot with Menus

0 stars1🌍 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