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
Ssushmithameher-patnam
Last edited Feb 23, 2023
Created on Feb 23, 2023

A yellow smiley face drawn with SVG animates its eyebrows through a repeating D3 transition. Using `d3.select` and `d3.arc`, the code builds concentric circles and an arc-based mouth within a centered group. Eyebrows move via chained `transition().duration()` calls that shift the group’s `transform` attribute, while static eyes and face shapes demonstrate basic DOM manipulation 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