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
AABCDB15
Last edited Feb 21, 2022
Created on Feb 21, 2022

A fork of the Smiley Face example renders a large yellow face as an SVG using React and D3’s `arc` generator to shape the mouth and eyebrows. The eyes, nose, and hair are defined as basic SVG shapes, with the left and right eyebrows rotated and translated via group transforms, and the mouth drawn as two concentric arc paths. D3’s `arc` API computes the path data for the mouth and eyebrow arcs, while React manages the component structure and SVG attributes.

AI-generated description

Smiley face implementation with React & D3. Some tweaks on eyes, eyebrows, nose, mouth and hair. And eyebrows and mouth are rotated and translated.

Comments

Sign in to join the discussion.

MIT Licensed