Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Let's make a face with D3.js!

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed