Fork of Smiley Face Part III
A smiling face rendered with React components and SVG, composed of a yellow background circle, two eyes, and a mouth. The code builds the face from modular components, with the mouth shaped using the d3.arc() API via D3 v5, while React manages the component structure and props. The entire face is centered on an SVG canvas using a translation, with dimensions and offsets defined as numeric constants. Each shape is drawn using SVG primitives such as circle and path, illustrating a hybrid approach where D3 handles geometry and React handles state and composition.