{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection menu built with React. It displays a dropdown list of six animal options, with a hamster preselected. The app uses React’s `useState` hook to track the selected value, which is logged to the console on change. The `Dropdown` component, defined in a separate file, maps over the option objects to render each `<option>` element, with the selected value triggering a change event. The page loads React and ReactDOM from unpkg and renders the app into the root div.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/69323cd8d171421b85eb71b5eda9e8b8?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}