Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

smiley face

Public visualization

smiley face

0 stars2🌍 Public
NNYY
Last edited Jan 12, 2022
Created on Jan 10, 2022
Forked from Hello HTML

This example shows a simple, stylized smiley face rendered as an SVG graphic using React components. The face consists of a yellow circular background with a black stroke, two black eye circles positioned symmetrically, and a curved mouth created with a D3 arc generator. The code imports `arc` from D3 v5 to define the mouth’s path, while React components like `FaceContainer`, `BackgroundCircle`, `Eyes`, and `Mouth` assemble the visual elements. All shapes are drawn declaratively with SVG elements, and the face is centered within a 960 by 500 pixel viewport.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed