Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Face in D3.js

Public visualization

Viewing a saved revision (read-only)

4b5b2cf7dd20473d82ae5b9220735c6e

Face in D3.js

0 stars1🌍 Public
CCaleb
Last edited Jun 17, 2020
Created on Jun 17, 2020
Forked from HTML Starter

This example uses D3.js to draw a yellow face with black eyes, eyebrows, and a mouth on an SVG canvas. The face is centered using a group element with a transform, while the eyebrows gently move up and down via chained transitions that animate a translate attribute over two seconds each. The mouth is created with an arc shape, and the code imports select and arc from the D3 library.

AI-generated description

A bare minimum HTML page.

See also React Starter.