Skip to main content
100%

Let's make a face with d3.js!

✓ Published4🌍 Public
Aarun-subba
Last edited Aug 21, 2020
Created on Aug 21, 2020

A yellow SVG face is drawn with d3.js, featuring two eyes, animated eyebrows that move up and down via chained transitions, and a smiling mouth with a tongue created using d3.arc. The code uses d3.select to attach elements to an SVG canvas, d3.arc for path generation, and transition().duration() to animate the eyebrow transforms over two seconds.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes