Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Let's Make a Face Part I

Public visualization

Fork of Let's Make a Face Part I

0 stars0🌍 Public
Vvijaytayal
Last edited Sep 4, 2021
Created on Sep 4, 2021

Eighteen identical smiley faces are rendered in a grid using React components. Each face is composed of a yellow background circle, two black eyes, and a mouth drawn with a D3 arc generator. The component structure separates the face into reusable parts: `FaceContainer`, `BackgroundCircle`, `Eyes`, and `Mouth`. While the overall layout is static, each eye’s radius is randomized, creating subtle variation across the repeated faces. The visualization relies on React for DOM rendering and D3’s `arc` API for the mouth path, with SVG used for all drawing.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed