DV with D3
This example shows a grid of 18 cartoon faces rendered in React with SVG. Each face consists of a yellow background circle, two black eyes, and a mouth drawn using the d3.arc() API, with randomized eye radius for variation. The reusable React components—Face, FaceContainer, BackgroundCircle, Eyes, and Mouth—are composed to build the visual. The faces are generated from a d3.range() array, and the entire scene is rendered into the DOM using ReactDOM.render().