Skip to main content
100%

Fork of Let's make a face with D3.js!

✓ Published1🌍 Public
JJuyeonee
Last edited Jul 19, 2021
Created on Jul 18, 2021

A yellow smiley face drawn with SVG circles and an arc path appears centered in a 960-by-500 viewport. The eyebrows, rendered as rectangles, repeatedly move up and down via chained `transition().duration(2000)` calls, demonstrating fundamental DOM manipulation with D3 v5. The code uses `select`, `arc`, `attr`, and `append` to build the face, with static positioning from hardcoded numeric constants rather than external data. The example is a fork of a tutorial, embedded as an interactive animation.

AI-generated description

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

MIT Licensed

Similar vizzes