Skip to main content
100%

Fork of Smiley Face Part II

✓ Published0🌍 Public
AAndrew Fletcher
Last edited Apr 16, 2021
Created on Apr 16, 2021

A React-based smiley face fills the browser window, with a yellow circular head, black outline, two eyes, and a curved mouth. The face is responsive, using `window.innerWidth` and `window.innerHeight` to size the SVG. The mouth is drawn with the `d3.arc()` API, while the head and eyes are simple SVG circle elements. React 16.9 and D3 v6 work together to render the static composition; the original template comment shows a fixed-size version that the code replaces with dynamic dimensions.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes