{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple pet-selection menu built with React. A dropdown control lets a user choose from six pet names, and the app displays the current selection in the browser console. The visualization uses React’s `useState` hook to manage the selected value, and a reusable `Dropdown` component renders the native `<select>` element and its `<option>` entries based on an array of name–label pairs. The interface is styled with regular CSS, and the rendered HTML is injected into a `#root` div using `ReactDOM.render`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/d30cf353c93c4c61b32b56fcc899add9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}