🌍 Public
Viewing a saved revision (read-only)
998663f490c54a359db8d909df7dd1f4
Let's make a face with D3.js!
This example builds a yellow cartoon face from SVG shapes using D3.js v5. The face is centered via a group transform, with circles for the eyes and an arc-generated path for the mouth. D3 transitions animate the eyebrows upward and back over two seconds, while the static shapes render in a 960×500 SVG canvas. The code imports `select`, `arc`, and `rect` from the D3 library.
AI-generated descriptionAn example including some commonly used features of SVG.