Fork of Fork of Hello HTML
A grid of eighteen randomly generated smiley faces demonstrates the modularity of React components combined with D3’s arc generator for the mouth. Each face, rendered as an SVG within a fixed 160×160 viewport, varies its stroke width, eye position, eye radius, and mouth dimensions via `Math.random()` calls in `index.js`. The `Face`, `BackgroundCircle`, `Eyes`, and `Mouth` components receive props to define individual geometry, while `FaceContainer` sets the SVG canvas and translation transform. The example uses React 17, D3 v6, and the `d3.arc` API to draw the curved mouth path.