Skip to main content
Public

Share visualization

Loading preview…

Fork of Let's make a face with D3.js! by kiran jyothi bodduluri - 11604571

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

Fork of Let's make a face with D3.js! by kiran jyothi bodduluri - 11604571

8
KKiran Jyothi Bodduluri-11604571
Last edited Feb 23, 2023
Created on Feb 20, 2023

A D3.js visualization constructs a stylized smiley face in SVG, featuring a yellow circular head, eyes, pupils, nose, teeth, ears, eyebrows, blush, glasses, and a beard. The eyebrows are static rotated rectangles; no animation is present, despite the README mentioning movement. The code builds elements using D3 v5 selections, methods like `attr`, the `arc` generator for the nose and mouth, and data binding for the teeth. The fixed SVG canvas is 960 by 480 pixels, with shapes positioned via absolute coordinates and transforms.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

Comments

Sign in to join the discussion.

MIT Licensed