Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part II

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Smiley Face Part II

0
CChris Fritz
Last edited May 11, 2022
Created on May 11, 2022

This is a React-based fork of a smiley face visualization, implemented with SVG. The app uses the `react` and `react-dom` libraries, along with the `window.innerWidth` and `window.innerHeight` properties to make the graphic responsive to the browser viewport. It draws a yellow circle with a black stroke for the face, and two smaller circles for eyes, all centered via a `transform` translation. The code also defines variables for facial features, though the mouth is not rendered in the final output.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed