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 stars1๐ŸŒ Public
LLonwabo11
Last edited May 6, 2019
Created on May 6, 2019

A yellow smiley face with animated eyebrows appears inside a black-bordered circle. The code demonstrates fundamental DOM manipulation in D3.js v5 by selecting the SVG element, appending a group, and using `arc()` to generate a mouth path. The two rectangular eyebrows animate independently using chained `transition().duration(2000)` calls, moving them up and down in a looping sequence.

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