Skip to main content
100%

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

✓ Published1🌍 Public
PPrathyusha Jampala
Last edited Feb 23, 2023
Created on Feb 23, 2023

A yellow SVG face with pink cheeks, eyes, a nose, eyebrows, and a toothy smile is built through fundamental DOM manipulation in D3.js. The eyebrows animate up and down using chained `transition().duration()` calls on a group element. The face is composed of SVG primitives like `circle`, `rect`, and `path`, with the mouth and nose generated using the `d3.arc()` shape generator. The page loads D3 v5 from a CDN and renders entirely with SVG and animation.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes