Fork of Let's make a face with D3.js!
✓ Published1🌍 Public
This animated SVG example uses D3.js v5 to construct a stylized smiley face with a yellow circle, two eyes, a curved mouth, and moving eyebrows. The underlying code demonstrates DOM manipulation by building each facial feature through `d3.select` and `svg.append` methods. The eyebrows animate by chaining `d3.transition` calls, moving them upward and back over two-second intervals. The mouth shape is generated through `d3.arc` with specified inner and outer radii and angular ranges, while all coordinates are calculated relative to the visualization's center.
AI-generated descriptionDemonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.
MIT Licensed