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
DDenisse Orozco
Last edited Apr 14, 2020
Created on Apr 14, 2020

A blue smiley face drawn with SVG shapes cycles its eyebrows upward and downward in a looping animation. The example demonstrates fundamental DOM manipulation in D3.js, using `d3.select` to append circles, rectangles, and a path to an SVG canvas. The mouth is created with the `d3.arc` generator, while eyebrows animate via chained `transition().duration()` calls that move their containing group's `transform` attribute.

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