Skip to main content
Public

Share visualization

Loading preview…

Smiley Face Part VI

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 VI

0
MMilena Belianovich Holtman
Last edited Oct 12, 2022
Created on Oct 12, 2022
Forked from Smiley Face Part V

A grid of six-by-three smiley faces, each with randomized facial features, fills the viewport with subtle variety in eye position, mouth shape, and stroke weight. The example demonstrates component reuse in React by mapping over a range from D3’s `range` function to render multiple `Face` components. Each face combines SVG primitives—circles for the background and eyes—with a D3 `arc` path for the mouth, all composed through ES6 modules and positioned via a translated `<g>` element.

AI-generated description

Smiley Face using React components and ES6 modules

Comments

Sign in to join the discussion.

MIT Licensed