Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3

Public visualization

Viewing a saved revision (read-only)

38646908f03148d1af8edf71babde3f9

Let's make a face with D3

0 stars3🌍 Public
NNikki-gea
Last edited Aug 24, 2020
Created on Aug 24, 2020

A yellow SVG face with black-outlined features is drawn using D3 v5. The head is a circle centered in a 960 by 500 viewport, with eyes and animated eyebrows that move up and down via chained transitions. A mouth is rendered using the `d3.arc` shape generator with specified inner and outer radii. The code imports `select` and `arc` from D3, appends elements to an SVG group, and uses `transition().duration()` to create the eyebrow motion.

AI-generated description