Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smiley Face Part II

Public visualization

Fork of Smiley Face Part II

0 stars0🌍 Public
JJoe
Last edited Mar 24, 2021
Created on Mar 24, 2021

This interactive smiley face responds to the browser window size, filling the viewport with a yellow head, black outline, and two eyes. The drawing is generated using React and ReactDOM, while D3’s `arc` function is imported but unused. The SVG elements are positioned dynamically using calculated center coordinates and offsets, with the face scaling based on `window.innerWidth` and `window.innerHeight`.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed