🌍 Public
Viewing a saved revision (read-only)
2b37b2f6cf8d4f66ae62e6e138927b41
Fork of Lets Make a Face
This example animates a simple cartoon face built from SVG shapes. It first draws a white rounded rectangle as the face’s body, and includes commented-out code for eyes, eyebrows, and a mouth that would use D3 transitions to move and resize features over time. The working code uses D3 v7’s `select` and `arc` functions, appending SVG elements via `g` and `rect`, with `title` elements for tooltips. The page loads D3 from a CDN and runs the visualization inside a fixed 960×500 SVG canvas.
AI-generated descriptionA demonstration of how to start using D3 version 6.