Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

d3-face

Public visualization

d3-face

0 stars4๐ŸŒ Public
JJames Malvern
Last edited Feb 26, 2021
Created on Feb 24, 2021
Forked from Hello VizHub

A smiling face rendered in SVG animates as its pupils shift to the right. Built with D3 v5, the example uses `d3.select` to append circles for the face, eyes, and pupils, while `d3.arc` generates the mouth path. A `transition().duration(2000)` moves each pupil over two seconds, demonstrating basic shape construction and animation within a static HTML page.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed