Skip to main content
Public

Share visualization

Loading preview…

smiley faces

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 faces

0
Yyeeet0421
Last edited Sep 19, 2022
Created on Sep 13, 2022
Forked from HTML Starter

A grid of 36 smiley faces renders via React components, with each face composed of D3-generated SVG shapes for the background circle, eyes, and mouth. The faces vary slightly in eye position and radius due to randomized values applied per face. Using `range` from D3 to generate the grid, the app maps each index to a `Face` component, scaling the composition across the viewport. The mouth uses D3’s `arc` generator with a fixed inner radius and angular span, while SVG `g` transforms center each face within its container.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed