Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Making a face

Public visualization

Viewing a saved revision (read-only)

3f11457e079d40b794eb33338dcf61f2

Fork of Making a face

0 stars0🌍 Public
Nnishanthh19
Last edited Sep 22, 2023
Created on Sep 22, 2023
Forked from Making a face

This example animates a simple cartoon face built entirely from SVG shapes. A green circle serves as the head, with two black circles for eyes, a dark arc for the mouth, and two rectangles for eyebrows. The eyebrows move up and down repeatedly in a looping animation using chained `transition().duration()` calls. The visualization is constructed with D3 v7, using `select` to target the SVG, `arc()` to generate the mouth path, and SVG primitives like `circle` and `rect`.

AI-generated description