Skip to main content
Public

Share visualization

Loading preview…

Fork of 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

Fork of Smiley face part 1

0
CClara Hu
Last edited Mar 22, 2021
Created on Mar 22, 2021
Forked from Smiley face part 1

A yellow circle with black outline and two filled black eyes forms a partial smiley face on an SVG canvas. The code uses React to render the SVG elements, while D3's `arc` API generates the mouth path with a specified inner radius and angle range. The face is centered within a 960 by 500 viewport, with the eyes positioned symmetrically from the center. All shapes are drawn using SVG primitives like `circle` and `path`, relying on D3 for the mouth's arc geometry.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed