{"version":"1.0","type":"rich","title":"React Starter","description":"This example demonstrates a simple React application with a pet-selection dropdown, showing how to manage and update state through user interaction. The code uses the `useState` hook to track the selected value and passes it to a custom `Dropdown` component built with React’s `select` and `option` elements. ReactDOM renders the `App` component into the DOM, while the dropdown’s `onChange` event triggers `setSelectedValue` to update state and log the choice to the console. The HTML file loads React and ReactDOM from external production scripts.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/296e94a3f86e4440aa409eec60d5f257?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}