Skip to main content
Public

Share visualization

Loading preview…

FFace Part II - toka kerta

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

FFace Part II - toka kerta

0
RRemustus
Last edited Oct 16, 2021
Created on Oct 16, 2021

This example shows a yellow smiley face centered on the screen, with black-outlined circular eyes and a face that scales to fill the browser window. The face is built using React components that render SVG elements, with the `App` function returning a `<svg>` element containing three `<circle>` shapes positioned via a `<g>` transform. The code uses React 16.9 and ReactDOM to mount the visualization, computing dimensions from `window.innerWidth` and `window.innerHeight` to make the face responsive, though the mouth is not implemented in the visible code.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed