Skip to main content
100%

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

✓ Published1🌍 Public
Yyaswanthsen
Last edited Feb 21, 2023
Created on Feb 20, 2023

This example builds a smiling face out of SVG shapes using D3.js, animating the eyebrows up and down in a looping transition. The face includes eyes, a nose, a mouth, teeth, a mustache, and a rotated cigarette, all positioned with static attributes. The code uses D3 selections, `arc` for paths, and chained `transition` calls to move the eyebrow group, demonstrating fundamental DOM manipulation with D3 v5.

AI-generated description

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

MIT Licensed

Similar vizzes