Skip to main content
100%

Let's make a face with D3.js!

✓ Published0🌍 Public
UUGarCil
Last edited Aug 15, 2020
Created on Aug 15, 2020

A smiling face built with D3.js animates its eyebrows in a looping vertical motion. The visualization demonstrates core SVG manipulation through D3 selections, appending circles for the head and eyes, rectangles for eyebrows, and an arc-generated path for the mouth. Chained `transition()` calls with 2000-millisecond durations continuously shift the eyebrow group’s transform attribute, creating the expressive movement against a 960×500 SVG canvas.

AI-generated description

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

MIT Licensed

Similar vizzes