Skip to main content
100%

Fork of Let's Make a Face Part I

✓ Published0🌍 Public
Mmisstong
Last edited Sep 17, 2022
Created on Sep 12, 2022

A React component renders a stylized smiley face using SVG, with a yellow background circle, two black eyes, and a curved mouth drawn from an arc. The face is centered on a 960 by 500 canvas, with fixed eye offsets and mouth dimensions passed as props. The code uses React 16.7 and D3 v5's `arc` generator to create the mouth path, while the background and eyes are simple SVG circle elements.

AI-generated description

Half way towards a smiley face.

MIT Licensed

Similar vizzes