Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Let's make a face with D3.js!

Public visualization

Fork of 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

A smiley face built with D3.js animates its eyebrows up and down in a rhythmic loop. The SVG drawing includes a large orange head, ears, eyes, a rectangular nose, and a curved mouth path generated with `d3.arc`. Using `d3.select` and `transition.attr`, the eyebrow group shifts between two vertical positions over two-second intervals, demonstrating basic DOM manipulation and chained transitions with D3 v5.

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