Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3.js Face

Public visualization

Fork of D3.js Face

0 stars0🌍 Public
YYuqi Tang
Last edited Aug 7, 2021
Created on Aug 7, 2021

A cheerful cartoon face rendered in SVG uses D3.js v7 to draw concentric arcs and circles. The face includes a yellow head, two black eyes, rectangular eyebrows, and a mouth built with the `d3.arc` shape generator. The eyebrows animate vertically through chained `transition` calls, moving down and back up over two seconds each. The code imports `select` and `arc` from D3 and uses SVG attribute manipulation to position elements relative to the viewport center.

AI-generated description

First D3 experiment

Comments

Sign in to join the discussion.

MIT Licensed