{"version":"1.0","type":"rich","title":"Make a Face Part 4 - React Component & ES6","description":"This example constructs a smiling face using React components and D3’s `arc` generator. A yellow background circle with a black stroke forms the head, while two smaller circles serve as eyes and a curved path creates the mouth. The code defines a `BackgroundCircle` component and renders the `App` component with SVG elements, using ES6 syntax and React 16.9, with D3 v7 for the mouth’s arc path. The face is centered via a `g` transform, and fixed dimensions of 960 by 500 pixels define the SVG canvas.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/fbd24ecc97f840759725b3563f65eac3?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}