Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ForkFaceReact

Public visualization

Viewing a saved revision (read-only)

a66c9c8ac619463283fa42a45e896f2e

ForkFaceReact

0 stars0🌍 Public
WWilliam Gitta
Last edited Jun 16, 2021
Created on Jun 16, 2021

A cartoon face rendered in SVG animates its eyebrows in a looping sequence. The example builds the face from D3 shape primitives, including circles for the head and eyes, and an arc for the mouth, all positioned with a central translation. Using D3 v5's `select` and `arc`, it demonstrates chained `transition` calls to repeatedly move the eyebrow group up and down over two-second intervals. The code imports these D3 features via ES6 modules, with the library loaded from UNPKG and the visualization drawn to an SVG element.

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.