{"version":"1.0","type":"rich","title":"Menu with React","description":"This example shows a simple pet-selection menu built with React. It displays a dropdown list of animal options, with a hamster pre-selected, and the user’s current choice appears in the console. The interaction is handled by a reusable `Dropdown` component that maps over an array of option objects, while the app manages its selected value through React’s `useState` hook. The page is rendered via `ReactDOM.render`, and the code imports the `Dropdown` component, using React’s `onChange` event to update the selection state.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8cf6b137d7f0487398c19c442cd715ef?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}