Skip to main content
100%

d3-face

✓ Published4🌍 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.
MIT Licensed

Similar vizzes