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
Bbellotukurm
Last edited Sep 15, 2019
Created on Sep 15, 2019

A yellow smiley face built with SVG appears on screen, with a red cap that slides back and forth. The face’s eyebrows move up and down in a looping animation. Built using D3.js v5, the code demonstrates fundamental DOM manipulation through selections, appending circles, rectangles, and paths, and uses the `arc` generator for the mouth. Transitions with `transition().duration()` animate the cap and eyebrows by changing their `transform` attributes.

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