{"version":"1.0","type":"rich","title":"Fork of Smiley Face Part II","description":"This example renders a full-screen smiley face using React with SVG elements. It computes the width and height from `window.innerWidth` and `window.innerHeight`, centers the face at the middle of the screen, and draws a yellow circle with a black stroke as the head, plus two eyes positioned via `eyeOffsetX` and `eyeOffsetY`. The code uses React’s `createElement` and `ReactDOM.render` to mount the SVG dynamically, with the face scaling based on viewport dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fbdde35f4cd64436bd8eb19ea67c2102?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}