{"version":"1.0","type":"rich","title":"Menus with React","description":"A React app demonstrates a controlled dropdown menu for selecting a pet from a defined list. The interface pairs a label with a custom `Dropdown` component, which builds a native `<select>` element from an options array. User selections update React state via the `useState` hook, and the chosen value is logged to the console. The example uses React 17, `ReactDOM.render`, and a reusable component pattern to manage UI state without external charting libraries.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/b68a4931617e43cb945be399ca8a713a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}