Face
This example builds a stylized cartoon face from reusable React components, including a yellow background circle, two eyes, and an arc-shaped mouth. The components are composed in a FaceContainer that centers all elements within an SVG using a transform. The mouth is drawn with the d3.arc() API, which generates the path using specified inner and outer radii and start and end angles. React 18 and D3 v7 handle the rendering, with visual properties like eye offset, radius, and stroke width passed as props to customize the face.