Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
NNatalia-Ilchenko
Last edited Dec 25, 2021
Created on Dec 24, 2021

This gallery example generates a grid of eighteen stylized faces, each a variation on the same base design with randomized eye sizes, rendered as SVG circles and an arc-based mouth. The faces are composed programmatically using React components, with `BackgroundCircle`, `Eyes`, `Mouth`, and `FaceContainer` assembling the visuals. The code leverages the `d3.arc()` API to create the mouth path and `d3.range` to generate the array of face instances, all rendered through ReactDOM into a single SVG container.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes