Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley face Part 1

Public visualization

Viewing a saved revision (read-only)

6a1d79739d8141dcb422d0ad089197f0

Fork of Smiley face Part 1

0 stars1🌍 Public
Ppuru001
Last edited Apr 22, 2022
Created on Apr 21, 2022
Forked from Smiley face Part 1

A yellow smiley face drawn with SVG circles and an arc for the mouth, centered on a 960×500 canvas. The React components compose the face from a background circle, two eyes, and a mouth, with all positions and sizes passed as props. D3’s `arc` generator creates the mouth path using an inner and outer radius with fixed start and end angles. The `FaceContainer` wraps the elements in a translated SVG group, and the example is rendered with React 18 and D3 v7.

AI-generated description

Halfway towards smiley face