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
Aavvarijayakrishna99@gmail.com
Last edited Feb 21, 2023
Created on Feb 21, 2023

This smiley face, built with D3.js v5, animates by moving its eyebrows up and down. The SVG face is composed of circles, rectangles, ellipses, and an arc path. The code uses D3's `select`, `append`, and attribute setters to construct the face, and a chained `transition()` with a 2000-millisecond duration to animate the eyebrow group's transform. The visualization demonstrates fundamental DOM manipulation through D3's selection and modification of SVG elements.

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