Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Face with animated eyebrows and mouth

Public visualization

Face with animated eyebrows and mouth

0 stars2🌍 Public
JJacob van Lingen
Last edited May 15, 2020
Created on May 14, 2020

A face with animated eyebrows and a mouth demonstrates D3.js transitions and SVG rendering. The head and eyes are static shapes, while the eyebrows move vertically using chained `transition` calls in the `animateEyebrows` function. The mouth is a D3 arc path that repeatedly changes its inner radius via `transition.attrTween` and `d3.interpolate`, alternating between open and closed states every 1.5 seconds. The code uses D3 selections and the `arc` generator, with no external data source.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed