Skip to main content
Public

Share visualization

Loading preview…

Funny Face

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

Funny Face

0
AAkrutiKhurana2103
Last edited Feb 20, 2022
Created on Feb 20, 2022

A cartoon face rendered as an SVG with React and D3 shows a symmetrical smiley with distinct eyes, pupils, a nose, and a tongue. The face’s head is a gold circle with a brown stroke, while the left eye is pink and the right eye is white, each with differently positioned pupils. The code uses D3’s `arc` generator to create the mouth path, and React components structure each facial feature. All elements are positioned within a single SVG group transformed to the center of a 1000×500 canvas.

AI-generated description

Smiley face implementation with React & D3.

Comments

Sign in to join the discussion.

MIT Licensed