Lets Make a Face
✓ Published0🌍 Public
BbeauMarko
Last edited Jan 25, 2021
Created on Jan 25, 2021
Forked from Fork of Let's Make a Face - Modifications
A grid of randomly generated cartoon faces demonstrates how React components and D3 shape generators can be composed into reusable visualizations. Each face uses a yellow background circle, offset black eyes, and a D3 arc-based mouth with randomized dimensions for eye radius, mouth width, and mouth radius. The React `Face` component assembles smaller `BackgroundCircle`, `Eyes`, and `Mouth` subcomponents, while a `FaceContainer` renders an SVG group translated to the center coordinates. D3’s `range` and `arc` utilities generate the grid and mouth paths, respectively.
AI-generated descriptionMIT Licensed