Skip to main content
Public

Share visualization

Loading preview…

Lets Make a 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

Lets Make a Face

2
SSamuel Elbaz
Last edited Nov 18, 2019
Created on Oct 25, 2019

This example shows a cartoon face built from basic SVG shapes, including a yellow circular head, two eyes, animated eyebrows, and a mouth created with an arc path. The face is centered and assembled using D3 selections, with the eyebrows repeatedly moving up and down via chained `transition()` calls. SVG attributes like `cx`, `r`, and `transform` position each element, while D3’s `arc()` helper generates the mouth’s curved path. The animation runs automatically on page load using D3 v5.

AI-generated description

An example including some commonly used features of SVG.

Comments

Sign in to join the discussion.

MIT Licensed