Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot with Menus

Public visualization

Viewing a saved revision (read-only)

d3d33ef100ac493f9f57f5c9ef6dd079

Scatterplot with Menus

0 stars0🌍 Public
DDeborah Ong
Last edited Apr 4, 2021
Created on Apr 4, 2021
Forked from React Starter

This example demonstrates a simple user interface for selecting a pet from a dropdown menu. The React application renders a labeled `<select>` element, populated with options for a dog, cat, hamster, parrot, spider, and goldfish. The selected value is managed through React's `useState` hook and logged to the console. The code uses the `Dropdown` component to handle the menu's options and change events, and leverages the React DOM library to render the application into the page's root element.

AI-generated description

React starter code.