{"version":"1.0","type":"rich","title":"Menus with React","description":"This example shows a pet-selection interface built with React, where users choose from a dropdown menu of goldfish, dog, or cat. It demonstrates state management with React’s `useState` hook, rendering a `<select>` element and dynamically highlighting the selected option. The app uses ReactDOM to render the component tree, with the dropdown options defined as an array of value-label pairs. The selected value is logged to the console, and the interface updates live as the user changes the selection.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/2992144be90d465faa48a1a904d6defa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}