Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part I

Public visualization

Smiley Face Part I

0 stars1🌍 Public
PPhilip Wong
Last edited Jan 20, 2022
Created on Jan 12, 2022
Forked from Hello HTML

A yellow smiley face is drawn in SVG, centered on a 960 by 500 canvas, with two black eyes and a mouth arc created using the `d3.arc` API. The face features a thick black stroke around the yellow circle, while the eyes are positioned using fixed offsets. The React component renders the SVG elements inside a `<g>` transform, with D3 v5 providing the arc path generator for the mouth. The mouth spans a half-circle from 90 to 270 degrees, creating the classic smile.

AI-generated description

Half way towards smiley face

Comments

Sign in to join the discussion.

MIT Licensed