Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pokemon test

Public visualization

Viewing a saved revision (read-only)

f68bab9921ca4b84a940276a60dc8a84

pokemon test

0 stars2🌍 Public
Wwzhang88
Last edited Nov 23, 2021
Created on Nov 22, 2021
Forked from Load data d3

This example shows a dropdown menu listing the names of the first 649 Pokémon, fetched from the PokeAPI. It displays the data as selectable options within a simple interface. The code uses React hooks such as `useState` and `useEffect` to load the JSON data via `d3.json`, and then renders the selection list using a React `<select>` element generated by a custom `SelectionButton` component. The visualization is minimal, focusing solely on data retrieval and list presentation.

AI-generated description

test pokemon data