Shridhar Kshirsagar's Fork.js!
This example demonstrates fundamental DOM manipulation with D3.js by constructing a smiley face with animated eyebrows, hair, ears, a beard, and a nose, all rendered as SVG elements. The code imports `select` and `arc` from D3 v5, uses `transition().duration()` to move the eyebrows up and down, and employs `arc()` to create the mouth. SVG attributes such as `cx`, `cy`, `x`, `y`, `width`, and `height` position each shape, while the face is centered using a group translation based on the viewport dimensions.