Skip to main content
100%

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

✓ Published0🌍 Public
Aavvarijayakrishna99@gmail.com
Last edited Feb 21, 2023
Created on Feb 21, 2023

A smiley face built with D3.js animates its eyebrows up and down in a rhythmic loop. The SVG drawing includes a large orange head, ears, eyes, a rectangular nose, and a curved mouth path generated with `d3.arc`. Using `d3.select` and `transition.attr`, the eyebrow group shifts between two vertical positions over two-second intervals, demonstrating basic DOM manipulation and chained transitions 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