Skip to main content
Public

Share visualization

Loading preview…

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

Smiley Face Part II

0
Yyinhao0424
Last edited Sep 25, 2019
Created on Sep 7, 2019

This visualization constructs a stylized smiley face using React and D3. It renders a large white circle for the face, pink circles for ears, and small black circles with white highlights for eyes, all positioned using hardcoded coordinates. The smile is created with a D3 arc path, and ear shapes are also generated via D3 arc functions. The SVG output is organized using React's declarative syntax, and the entire scene is built with D3's `arc` API for the curved elements.

AI-generated description

Smiley face implementation with React & D3.

Comments

Sign in to join the discussion.

MIT Licensed