Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Let's make a face with D3.js!

Public visualization

Viewing a saved revision (read-only)

252dbd5234734ca781017089a4401f42

Fork of Fork of Let's make a face with D3.js!

0 stars0🌍 Public
GGuntupalli Mohan kalyan
Last edited Feb 15, 2026
Created on Feb 15, 2026

This example draws a smiling face using D3.js in an SVG canvas, with a yellow circular head, two white eyes with black pupils, an orange triangular nose, and a black arc mouth. The face is built through a sequence of D3 selection and attribute-setting calls, including `d3.select` for the SVG container and `d3.arc` to define the curved mouth path. A short animation moves the eyebrows vertically via chained transition operations, giving the static face a lively, animated expression over a two-second cycle.

AI-generated description