{"version":"1.0","type":"rich","title":"7.14MenusWithReact","description":"This example demonstrates a React-based UI that lets users select a pet from a dropdown menu. It showcases how React state manages the selected value, which is logged to the console. The code uses React's `useState` hook and a custom `Dropdown` component to render the HTML `<select>` element, while D3 v7 is loaded for potential charting but not actively used. The interaction is simple, with options defined for six pets.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/63184222f53f4864bff112cb344333da?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}