Smiley Face
This React and D3 v5 example renders a grid of eighteen smiling faces using SVG. Each face features a gradient-filled background circle, star-shaped eyes created with `d3.symbol`, and an open mouth built from a `d3.arc` path. A white rect acts as teeth, and a tongue is drawn beneath. The faces are generated by mapping over an array from `d3.range`, each using shared components for the face container, background, eyes, mouth, and tongue, all composed within a React component tree.