Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Face With D3

Public visualization

Face With D3

0 stars0🌍 Public
Ssagarknt97
Last edited May 18, 2020
Created on May 18, 2020
Forked from HTML Starter

A yellow smiley face is rendered in SVG, with two eyes, animated eyebrows, and a mouth formed by a semicircular arc. The face is centered within a 960 by 500 SVG canvas, with all facial features positioned and styled using D3 selections. The eyebrows use chained D3 transitions to move up and down over two-second intervals, creating a blinking or winking effect. The code imports `select` and `arc` from D3 v5, demonstrating the use of D3's shape generator for the mouth path.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed