Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
A yellow smiley face with animated eyebrows demonstrates fundamental D3.js DOM manipulation. The face is built entirely with SVG shapes: circles for the eyes and head, rectangles for the eyebrows, and a path generated with the `d3.arc` function for the mouth. Eyebrows move up and down via chained `transition().duration()` calls that repeatedly shift the group's `transform` attribute. The example uses D3 v5, importing `select` and `arc` from the library, and renders entirely in an SVG container sized 760 by 500 pixels.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed