{"version":"1.0","type":"rich","title":"Menus With React","description":"This example shows a React-based dropdown menu for selecting a pet, with the current choice displayed via a label and console output. The dropdown uses React’s `useState` hook to manage the selected value, and a reusable `Dropdown` component renders the `<select>` element and handles `onChange` events. The code integrates D3 v5 and React 16.9 via UMD builds, though D3 is not actively used in this visualization. A list of predefined pet options (dog, cat, hamster, etc.) serves as the data source, with “hamster” as the initial value.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0ed1b4785da24621906869361131c34c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}