Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
MManishankar Vakta
Last edited Nov 11, 2021
Created on Nov 10, 2021
Forked from Hello HTML

This example renders a grid of 18 procedurally generated cartoon faces using React and D3. Each face is composed of SVG circles and an arc-based mouth, with randomized stroke widths, eye offsets, eye radii, and mouth dimensions. The code uses `d3.range` to create the array of faces and `d3.arc` to construct the mouth path. React components (`Face`, `Eyes`, `Mouth`, `BackgroundCircle`, `FaceContainer`) structure the SVG output, and the app is mounted via `ReactDOM.render`. The result is a playful, varied collection of simple smiley faces.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes