{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a simple pet-selection menu built with React and D3. It shows a labeled dropdown that lets users choose from a list of pets, with the current selection (initially “hamster”) displayed. The interface uses React’s `useState` hook to manage the selected value, while a reusable `Dropdown` component renders the `<select>` element and handles change events. Although D3 v7 is loaded, it is not actively used in this menu’s logic, which relies purely on React’s state and event handling.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/f2c72e3e831940a18c4b00915ba4f6b5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}