Skip to main content
100%

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

✓ Published0🌍 Public
RRohithReddy-thoughts
Last edited Feb 18, 2022
Created on Feb 18, 2022

Built with D3.js v5, this animated SVG face demonstrates fundamental DOM manipulation using selections, transitions, and shape generators. The coral circle head, green-outlined eyes, eyebrows, and arc-based mouth are appended and styled via D3 methods like `select`, `append`, `attr`, and `transition`. The eyebrows animate through a chained `transition().duration()` sequence, moving up 90 pixels and back over 20 seconds. The `arc` generator defines the mouth’s path from inner and outer radii, while SVG attributes control geometry and stroke styling throughout.

AI-generated description

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

MIT Licensed

Similar vizzes