Skip to main content
100%

Smiley Face - Part 1

✓ Published1🌍 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.

MIT Licensed

Similar vizzes