{"version":"1.0","type":"rich","title":"Menus with react","description":"This example shows a pet-selection menu built with React, where choosing an option from the dropdown updates a displayed value. The interface consists of a label and a dropdown list populated with pet names. The code uses React’s `useState` to manage the currently selected value and a custom `Dropdown` component that renders an HTML `<select>` element. D3.js is imported but only for its `arc` function, which is unused in the visible logic. The dropdown options are defined in a JavaScript array and rendered dynamically.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/09dca6ba5f1049a1a397e2983e6e0901?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}