Skip to main content
Public

Share visualization

Loading preview…

Let's make a face with D3.js!

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

Let's make a face with D3.js!

1
Ssucharitha.yadala@sharda.ac.in
Last edited Jan 30, 2026
Created on Jan 30, 2026

A yellow circle face with black outlines is drawn in SVG, featuring two eyes, eyebrows, and a mouth. The face is centered on a 960x500 canvas using an SVG group with a translate transform. The code uses D3.js v5 with the `select` API to target the SVG element, and the mouth is created using the `arc` function to generate a path with inner and outer radii. The eyebrows animate vertically through a chained transition, moving down 50 pixels and back over two seconds each, using D3's `.transition()` method.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed