Skip to main content
Public

Share visualization

Loading preview…

Fork of Smiley Face Part III

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 III

0
AAndy Curtis
Last edited Aug 28, 2023
Created on Aug 28, 2023

Two versions of a cartoon smiley face are rendered as vector SVG graphics, one small and one large, with randomized eye and mouth sizes. Each face combines React components for its structure—such as `BackgroundCircle`, `Eyes`, and `Mouth`—with D3’s `arc` API to generate the mouth path. The SVG is drawn within a `FaceContainer` that translates a central coordinate group, while the dark stroke and yellow fill come from a basic circle element.

AI-generated description

Smiley face implementation with React & D3.

Comments

Sign in to join the discussion.

MIT Licensed