Skip to main content
100%

Making Face with D3.js

✓ Published0🌍 Public
MMei
Last edited Dec 29, 2020
Created on Dec 27, 2020

A cheerful yellow face is drawn with D3.js (v6) in an SVG, featuring a circle for the head, two outlined eyes, and an arc-based mouth. The right eyebrow animates upward and back down over four seconds using chained `transition().duration()` calls, while the left stays static. Shapes are built with `select`, `append`, and `arc` from the D3 API, centered via a translated group. The SVG background is LightYellow, and data is hardcoded as numeric constants for positioning.

AI-generated description
MIT Licensed

Similar vizzes