{"version":"1.0","type":"rich","title":"Smiley Face 006 compartmentalizing","description":"Two SVG smiley faces illustrate how React components can compartmentalize D3-generated geometry. The code builds a standard smiling face and a winking variant with a dimpled mouth, using D3's `arc()` and `line()` generators to create paths within reusable React components. Each facial feature—eyes, mouth, face circle—is its own component, demonstrating modular composition of SVG elements while keeping D3 and React separate concerns.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/6e87791d1578494db99042b7020d3314?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}