Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's make a face with D3.js

Public visualization

Viewing a saved revision (read-only)

b6b2549178f84941ad2782a308f5b5b1

Let's make a face with D3.js

0 stars1🌍 Public
WWhitney Hung
Last edited May 22, 2020
Created on May 19, 2020
Forked from HTML Cars Report

This example builds a stylized smiling face from basic SVG shapes using D3.js v5. It draws a yellow head circle, two eyes, and a mouth path created with the `d3.arc` generator. The animation uses chained `transition().duration()`.attr calls to make the eyebrows move up and down, creating a simple facial expression. The code demonstrates SVG rendering with D3’s selection and attribute manipulation APIs.

AI-generated description