{"version":"1.0","type":"rich","title":"Smiley Face Assignment (D3)","description":"This example uses React 17 and D3 v6 to draw a smiley face in an SVG. The face is constructed from a yellow circle for the head, two eye arcs created with `d3.arc`, a mouth arc, and a horizontal line for the teeth, all positioned around the center of the 960x500 viewport. The code defines each shape with D3’s `arc` API, using inner and outer radii and start/end angles, then renders them as SVG paths within a transformed group. The data is hardcoded in the JavaScript, with styling applied via SVG attributes.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/4a65326f93564256a9666309d0a87a6a?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}