Refactor React - Smiley Face
A React component renders a yellow smiley face as a scalable vector graphic, composed of a circular background, two eyes, and a smiling mouth. The face is built from separate functional components—`BackgroundCircle`, `Eyes`, `Mouth`, and `FaceContainer`—that accept numeric props for dimensions and positioning. The mouth uses the `d3.arc` generator from d3.v6 to create a semicircular path, while all elements are centered within an SVG container via a translation transform. The example demonstrates how to structure reusable, data-driven visual components with React and D3.