Skip to main content
Public

Share visualization

Loading preview…

Modify the 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

Modify the face

0
JJoachim Klug
Last edited Apr 9, 2021
Created on Apr 9, 2021

A stylized face composed of overlapping SVG shapes is rendered with React, using the D3 `arc()` generator to create a mouth and basic circle elements for the head and eyes. The face is drawn as a yellow circle with a black stroke, positioned at the center of the viewport, and includes a Gaussian blur filter applied to the head. The eyes are simple circles offset from the center, while the mouth is an arc path generated with D3’s `arc()`. The example demonstrates how D3’s geometry helpers can be integrated within a React component to build a static, SVG-based illustration.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed