{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple interactive pet-selection menu built with React. It shows a dropdown list of six pet options, with a default value of \"hamster\" preselected, and displays the chosen pet’s label next to the menu. The interface uses React’s `useState` hook to manage the selected value and a reusable `DropDown` component that maps over the options array to render each `<option>` element. The code relies on React 16.9 and ReactDOM to render the component into the `#root` div, with styling from `styles.css`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f5fc2978016e4ea88afded71e7bb9d86?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}