{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple pet selector menu built with React and D3 v6. It shows how a dropdown list updates a displayed value based on user selection. The app uses React’s `useState` hook to manage the selected option and passes the current value and change handler to a reusable `Dropdown` component, which renders an HTML `<select>` element. The menu allows choosing among six predefined pet options, with a large label and select styled via CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3553ebd7ef224a23b4eda3a32ed2d93d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}