Skip to main content
Public

Share visualization

Loading preview…

Smiley face part 1

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 1

41
11tang
Last edited Mar 9, 2021
Created on Mar 6, 2021
Forked from Hello HTML

A yellow SVG smiley face is drawn on a 960 by 500 canvas, centered within a black-outlined circle. The face includes two black eyes and a mouth arc, all rendered as SVG primitives. The code uses React for component structure and D3’s `arc` generator to create the mouth path. The face’s dimensions, such as eye offsets and radii, are explicitly defined as constants, with the outermost circle’s radius derived from the canvas height and stroke width.

AI-generated description

Half way towards a smiley face. Smiley mark down (MD).

Comments

Sign in to join the discussion.

MIT Licensed