Smile Face
This example renders a simple smiley face as an SVG graphic using React and D3 v7. It draws a yellow circle for the head, two black circles for the eyes, and a curved mouth path generated with D3’s `arc()` function. The face is centered by translating a `<g>` element to the middle of a 960×500 viewport, with eye offsets and radii defined as constants. The code uses ReactDOM.render to mount the component and leverages D3’s arc generator to create the mouth’s full circular arc.