Skip to main content
100%

Lets make a face with D3

✓ Published2🌍 Public
RRohit K Bharadwaj
Last edited Sep 21, 2019
Created on Sep 20, 2019
Forked from Hello VizHub

This example draws a cartoon face on an SVG canvas using D3 selections and shape generators. It shows a yellow circle head, two eyes, animated eyebrows that move up and down via chained `transition.attr` calls, and a mouth created with the `d3.arc` generator. Fixed pixel coordinates for eye spacing, eyebrow dimensions, and arc radii position each facial feature relative to the SVG’s center.

AI-generated description
MIT Licensed

Similar vizzes