Skip to main content
100%

dropdown

✓ Published1🌍 Public
Wwzhang88
Last edited Nov 23, 2021
Created on Nov 23, 2021

This example displays a dropdown menu populated with Pokémon names fetched from the PokéAPI, with the selection state tracked and logged. The app loads 649 results via `d3.json` and maps them into options for the `ReactDropdown` component from `react-dropdown-browser`. Once a user picks a name, the selected value is stored in React state and printed to the console. The interface uses SVG rendering and React's `useState` and `useEffect` hooks to manage asynchronous data loading and UI updates.

AI-generated description

test pokemon data

MIT Licensed

Similar vizzes