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 stars2🌍 Public
VVipul Gaurav
Last edited Apr 20, 2020
Created on Apr 20, 2020

A face is drawn as a smiley with yellow fill, black stroke, circular eyes, and an arc-shaped mouth on an SVG canvas. The code demonstrates fundamental D3.js DOM manipulation by appending shapes to a group element, using `d3.select`, `d3.arc`, and chained `transition` calls to animate the eyebrows, which move up and down over two-second intervals. The rendering is entirely SVG with a simple animation loop.

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