Skip to main content
100%

Let's make a face with D3.js!

✓ Published3🌍 Public
ZZhenxiang Wang
Last edited Feb 6, 2020
Created on Feb 5, 2020

A yellow smiley face is drawn with D3.js, featuring a circular head, two eyes, and an arc-shaped mouth. The face’s eyebrows animate by moving upward and then returning to their original position over two sequential transitions. The visualization uses D3 v5’s `select`, `arc`, and `transition` APIs to manipulate SVG elements directly in the DOM, with the face centered via a translated group and rendered on a 960x500 canvas.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes