{"version":"1.0","type":"rich","title":"Hook that fetches a random Games Of Thrones quote.","description":"This example demonstrates a React hook that fetches a random quote from the Game of Thrones universe and displays it as plain text. It uses the `useState` and `useEffect` hooks from React to manage the quote data and trigger a single API call when the component mounts. The fetch request targets the `game-of-thrones-quotes.herokuapp.com` REST API, and the response’s `sentence` field is stored in local state. No rendering library beyond React is used; the hook returns the quote string for the component to render directly.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-af50e82afd071137a4a74599bd24dee3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}