Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot with Menus

Public visualization

Viewing a saved revision (read-only)

5911efec21fe4c8b8e6debf7bf0e3392

Scatter Plot with Menus

0 stars0🌍 Public
CChris Briggs
Last edited Nov 17, 2021
Created on Nov 17, 2021
Forked from Menus with React

A scatter plot with menus demonstrates interactive data filtering through dropdown selection. The visualization uses React with hooks, specifically `useState` to manage the currently selected pet option from a menu containing dogs, cats, hamsters, parrots, spiders, and goldfish. The `Dropdown` component renders a standard HTML `<select>` element, triggering `onSelectedValueChange` callbacks to update the application state. The example displays a simple interface with a label and selection menu, though no actual scatter plot data or rendering logic is present in the provided code.

AI-generated description

React Starter Code