Skip to main content
Public

Share visualization

Loading preview…

My first Face Viz - ICE 4

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

My first Face Viz - ICE 4

0
RRobFaj
Last edited Feb 27, 2023
Created on Feb 25, 2023

This animated smiley face demonstrates fundamental DOM manipulation with D3.js v5. A yellow circle serves as the face, with eyes, eyebrows, and a mouth created using SVG shapes and the `d3.arc` path generator. The eyebrows animate upward and downward through chained `transition().attr()` calls, moving the entire eyebrow group via transform attributes. The SVG background is set to red through direct style manipulation.

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