Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js!

Public visualization

Let's make a face with D3.js!

0 stars1🌍 Public
Ddamankwah
Last edited Apr 7, 2020
Created on Apr 6, 2020

A cheerful yellow face is drawn with D3.js, featuring circular eyes, rectangular eyebrows, and a curved mouth, all rendered as SVG elements. The eyebrows animate up and down over two seconds using D3 transitions. The code uses `d3.select`, `d3.arc`, and SVG shape methods like `append`, `attr`, and `transition` to build the face within a 960x500 viewport, centering the elements with a group transform.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed