Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Lem's Smiley

Public visualization

Lem's Smiley

0 stars0🌍 Public
LLem Dulfo
Last edited Mar 9, 2021
Created on Mar 6, 2021
Forked from Hello HTML

This example renders a static smiley face using React components and SVG. The `Face` component composes a yellow `FaceCircle`, a pair of `Eyes` with white shine highlights, and a `Mouth` drawn with d3’s `arc()` path generator using a half-circle angle range and a purple fill. Fixed numeric props for dimensions, eye offsets, and mouth radius define the layout. The `FaceGroup` component creates the SVG container and applies a centering translation via a `<g>` transform.

AI-generated description

Smiley

Comments

Sign in to join the discussion.

MIT Licensed