Skip to main content
100%

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

✓ Published0🌍 Public
Mmk03985
Last edited Apr 11, 2022
Created on Apr 11, 2022

An animated smiley face demonstrates fundamental DOM manipulation with D3.js. The face, rendered as SVG, features yellow circular head, eyes, and eyebrows that transition vertically in a looping sequence using chained `transition` calls. A mouth is drawn with `d3.arc` path generator. The code imports `select` and `arc` from D3 v5, using selections to append and style SVG elements while `transition().duration()` animates the eyebrow group’s transform attribute.

AI-generated description

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

MIT Licensed

Similar vizzes