{"version":"1.0","type":"rich","title":"menu react","description":"This example shows a pet selector dropdown built with React, where choosing a pet from the menu updates the selected value state. The interface renders a labeled `<select>` element using a reusable `Dropdown` component that maps over six predefined pet options. The code uses React’s `useState` hook to manage the current selection and ReactDOM to render the app into the DOM, while D3 is loaded only for potential charting, though no visualization is drawn here.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/8ba814442196408ea1787c048369e8cb?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}