{"version":"1.0","type":"rich","title":"fork React starter code","description":"This example demonstrates a simple pet-selection interface built with React. It shows a dropdown menu that lets users choose a pet from a list of six options, including dog, cat, hamster, and parrot. The code uses React's `useState` hook to manage the currently selected value and a custom `Dropdown` component that renders an HTML `<select>` element. The `onChange` event handler updates the state whenever the user makes a selection. ReactDOM renders the `App` component into the `#root` div, with the interface styled via embedded CSS.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3d8ef6bdf0f24c3da11911b5bf2eb3fa?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}