Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face - Part 1

Public visualization

Viewing a saved revision (read-only)

d81c3532ea654a30b7f823f0ded7adab

Smiley Face - Part 1

0 stars1🌍 Public
OOlowogoke Seun
Last edited Sep 27, 2021
Created on Sep 27, 2021
Forked from HTML Starter

A smiley face is drawn using React and D3, with a yellow circular head, two black eyes, and a partial mouth arc. The SVG rendering uses D3’s `arc` generator to create the mouth path, while positions and sizes are defined by constants for offsets and radii. The face is centered in a 960×500 viewport, with the head radius calculated from the height minus stroke width.

AI-generated description

Halfway towards a smiley face.