Fork of Let's make a face with D3.js!
✓ Published0🌍 Public
This animated example demonstrates a smiling face drawn with D3.js that continuously raises and lowers its eyebrows. The visualization uses basic DOM manipulation via `d3.select` and `svg.append` to construct the face from circles, rectangles, and a path. The eyebrows' movement is achieved using D3's `transition` method with a two-second duration, toggling between two vertical positions. The face is rendered as SVG elements on a 960 by 500 canvas, with the mouth created using the `arc` method to generate a semicircular path.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed