đ Public
Fork of D3.js Face
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 descriptionFirst D3 experiment
MIT Licensed
Comments
Sign in to join the discussion.