Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Project

Public visualization

Viewing a saved revision (read-only)

73b911dea881442794f7bdb78c7a64ab

Smiley Face Project

0 stars0🌍 Public
AAhmad Butt
Last edited Mar 2, 2021
Created on Mar 2, 2021
Forked from Hello HTML

This example shows a smiling face made of yellow, black, and simple SVG shapes, centered on a white background. The face is composed with React components, including a background circle, two eyes, and a mouth drawn with a d3 arc path. The Face component passes layout and sizing props like centerX, centerY, and eyeOffsetX into subcomponents, while FaceContainer renders the SVG and applies a translation transform. The mouth’s arc is configured with inner and outer radii plus start and end angles from the d3 library.

AI-generated description

Smiley Face Project