Skip to main content
Public

Share visualization

Loading preview…

Lets 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

Lets make a face with d3.js

0
Ggayathrikavya
Last edited Feb 28, 2023
Created on Feb 25, 2023

A smiling yellow face is drawn with SVG shapes: a large circle for the head, black circles for eyes and nose, and a curved path for a mouth. Animated rectangular eyebrows move up and down using D3 v7's `transition` API. The visualization uses D3's `select` and `arc` functions to construct the SVG elements within a 960 by 500 canvas, with the face centered and repositioned via a coordinate transform.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed