🌍 Public
Viewing a saved revision (read-only)
7464a59820214991a6c7a86012863b60
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.