Face making
A face made of SVG shapes is drawn in the center of a yellow circle, with eyes, eyebrows, and a mouth formed from arcs and rectangles. The eyebrows animate upward and then back down over two seconds using chained D3 transitions. Built with React and D3 v5, the code selects the SVG, appends groups for spatial offsets, and uses D3’s `arc()` generator for the mouth path. The animation is driven by `transition().duration(2000)` on the eyebrow group’s transform attribute.