Skip to main content
Public

Share visualization

Loading preview…

Smiley 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

Smiley Face

0
AAbdulhaq Adetunji Salako
Last edited Apr 17, 2020
Created on Feb 9, 2020
Forked from Hello HTML

This React and D3 v5 example renders a grid of eighteen smiling faces using SVG. Each face features a gradient-filled background circle, star-shaped eyes created with `d3.symbol`, and an open mouth built from a `d3.arc` path. A white rect acts as teeth, and a tongue is drawn beneath. The faces are generated by mapping over an array from `d3.range`, each using shared components for the face container, background, eyes, mouth, and tongue, all composed within a React component tree.

AI-generated description

Half way towards smiley face

Comments

Sign in to join the discussion.

MIT Licensed