Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0๐ŸŒ Public
Ccaptind
Last edited Feb 20, 2023
Created on Feb 20, 2023

A smiling face made of SVG shapes uses D3.js selections and transitions to animate its eyebrows. The code builds a yellow circle for the head, two eyes, and an arc-based mouth. D3's `transition()` and `attr()` methods move the eyebrow group up and down. The example demonstrates fundamental DOM manipulation with D3 v5, drawing shapes directly in an SVG element.

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