Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
VVladimirSharov
Last edited Apr 27, 2021
Created on Apr 27, 2021

A stylized smiley face rendered with React and D3 v6, built from basic SVG shapes. The face features a yellow circle, two black eyes, and a mouth drawn using D3's `arc()` generator. A React component computes layout constants for the center, eye offsets, and dimensions, then transforms an SVG group to position the elements. The mouth arc uses inner and outer radii with a half-rotation, while the face circle is sized relative to the viewport height and stroke width.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes