Smiley Face Pt 1
A grid of randomized smiley faces demonstrates how parameterized SVG components can be composed into a reusable face. Each face uses a yellow circle for the head, two circles for eyes, and a D3 arc-generated path for the mouth. The React app maps over a D3 range to render eighteen faces, varying stroke width, eye position, eye radius, and mouth dimensions via random values. The SVG is built with React components, and the mouth’s arc is created using d3.arc with inner and outer radii, achieving a half-circle smile.