{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates how to build interactive dropdown menus using React's state management, with a label and select element displaying pet options and their selected value. The code uses React hooks (`useState`), a custom `Dropdown` component, and the `ReactDOM` library for rendering. The select element updates the displayed choice when users change the selection, with the current value logged to the console.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7c10dc933b0a458c92c3e368d908ea36?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}