Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Let's Make Fac using D3

Public visualization

Viewing a saved revision (read-only)

44dd614a9ee14d65ac857422de58e772

Let's Make Fac using D3

0 stars1🌍 Public
Mmok3bat
Last edited Apr 26, 2021
Created on Apr 26, 2021
Forked from Hello VizHub

This example draws a cartoon face using D3 version 6, with SVG shapes for the head, eyes, eyebrows, and mouth. The face is centered via a translated group, and the eyebrows animate up and down using chained `transition().duration()` calls. The code demonstrates local ES6 module imports, loading D3 from UNPKG, and uses `d3.select`, `d3.arc`, and SVG attrs like `cx` and `r` to construct the static and animated elements.

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.