Smiley Face III Assignment
This example renders a large smiley face as an SVG using React components for the face, eyes, and pupils, with D3’s `arc` generator defining the cheek curves. The face is centered within a 960×500 canvas, featuring a green-tinted head, red and green pupils, and two rows of white rectangular teeth created with `rect` elements. All visual properties—such as eye radius, tooth dimensions, and stroke widths—are set as constants, and the layout relies on explicit `translate` transformations to position each part relative to the center. The code combines React’s declarative JSX with D3’s utility functions for shape generation.