Skip to main content
Public

Share visualization

Loading preview…

Smiley Face Part I

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 I

1
MMoise
Last edited Aug 23, 2023
Created on Aug 22, 2023
Forked from Smiley Face Part I

A grid of smiley faces is rendered, each face constructed from SVG primitives including a yellow background circle, two eyes, and a mouth. The example demonstrates the use of React components to assemble a reusable face, with facial feature properties like eye offset, radius, and mouth dimensions randomized per face. The mouth is drawn using d3’s arc function to create a half-circle path. Each face is rendered in an SVG container, with a black stroke on the yellow circle providing definition.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed