{"version":"1.0","type":"rich","title":"Menus with React","description":"This example demonstrates a React-based dropdown menu for selecting a pet, with the chosen value logged to the console. It uses React’s `useState` hook to manage the selected value and a reusable `Dropdown` component that renders a native `<select>` element. The code imports React and ReactDOM from UMD builds, along with d3.v5, though d3 is not actively used in the interaction. Styling is applied via inline CSS in the HTML, with a large font for the label and select.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8e279f5729634c6aba4eff3ac308d85d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}