Skip to main content
Public

Share visualization

Loading preview…

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

ICE-4

0
CChandrashekharRamamuthi
Last edited Feb 21, 2023
Created on Feb 21, 2023

A green smiley face animates by moving its rectangular eyebrows up and down. The demo shows fundamental DOM manipulation with D3.js v5, using `d3.select` and `d3.append` to build SVG circles, rectangles, and paths. The eyebrows transition vertically via `transition().duration(2000)` chained calls. The mouth is drawn with the `d3.arc` generator. The animation runs continuously, shifting the eyebrows between two Y-offsets over two-second intervals.

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