Skip to main content
100%

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

✓ Published0🌍 Public
Ssunyixia025@gmail.com
Last edited Jan 10, 2024
Created on Jan 10, 2024

A yellow smiley face with animated eyebrows demonstrates D3.js DOM manipulation. The face, built with SVG circles and an arc path for the mouth, uses D3 selections to append elements and set attributes. Eyebrows are rectangles that move via `transition().attr()` in a looping duration sequence. The example leverages D3 v5, importing `select` and `arc` from the main module, and renders entirely in SVG within a fixed-width viewport.

AI-generated description

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

MIT Licensed

Similar vizzes