Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Lets Make a Face

Public visualization

Viewing a saved revision (read-only)

7464a59820214991a6c7a86012863b60

Fork of Lets Make a Face

0 stars0🌍 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.