Skip to main content
100%

Fork of Lets Make a Face

✓ Published0🌍 Public
Aantoniojl-kemaro
Last edited Dec 15, 2022
Created on Dec 8, 2022
Forked from 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 description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes