{"version":"1.0","type":"rich","title":"Smiley face pt1","description":"This example renders a simple cartoon smiley face using React and D3 within an SVG container. The face consists of a yellow circle head, two green eyes, a blue hair-like rectangle, and a mouth drawn as an arc. The code uses D3’s `arc` generator to create the mouth path, with positions calculated from center coordinates and offsets. All shapes are positioned via a central `<g>` transform, relying on React for component structure and D3 v5 for geometric calculations.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/47fa5031e2604041bd0773e53ed591a9?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}