Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of Shapes and Colors with SVG and CSS2

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 Fork of Shapes and Colors with SVG and CSS2

1
GGuan
Last edited Sep 13, 2024
Created on Sep 13, 2024

A yellow smiley face with black eyes and an arc-shaped mouth is centered in an SVG canvas. The eyebrows animate upward and back down over four seconds using chained D3 transitions. The code uses d3.select, d3.arc, and transition.attr to build the face from SVG shapes, with static geometry defined in index.js and basic styling in styles.css.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed