🌍 Public
Viewing a saved revision (read-only)
09bd6fa68f9e42379d167312f963451f
Fork of Let's make a face with D3.js!
This example shows a smiling face built in SVG whose eyebrows animate up and down. Using D3 v5 and the `d3.arc` and `d3.select` APIs, the code constructs a sky-blue circle for the head, adds eyes, and attaches two rectangles as eyebrows. A path with an arc generator forms the mouth. The eyebrows move via chained `transition.attr` calls over 2-second intervals, demonstrating basic DOM manipulation and selection-based updates without external data.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.