{"version":"1.0","type":"rich","title":"Making face with js","description":"This example builds a full-screen smiley face using React and SVG. It calculates the center of the window and positions a yellow circle with a black stroke as the face, plus two smaller circles for eyes, all within a single SVG element. The code uses React’s JSX syntax to declaratively define the SVG elements and applies a transform to translate the origin to the center of the viewport. The face size adapts to the browser window’s dimensions.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/7ba744f4b3d740788f91d6e77e3ab90d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}