{"version":"1.0","type":"rich","title":"Smiley Face Tutorial","description":"This example shows how to construct a simple smiley face using SVG elements. The face is composed of a yellow circle, two black eye circles, and a mouth drawn as a curved path. The code relies on the D3 library's `arc` helper from the `d3-shape` package to generate the mouth's arc, using method chaining to set its inner and outer radii and start and end angles. The implementation exists in two versions: one using D3's imperative selection and appending methods on an SVG element, and another using React with JSX to declaratively render the same shapes, both demonstrating SVG group elements and template literals.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/df1c9d7490c94ea0abf0c63dcd49f8e2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}