Skip to main content
100%

Fork of Let's make a face with D3.js

✓ Published0🌍 Public
AAmol Tangade
Last edited Jul 31, 2021
Created on Jul 31, 2021

This example builds a cheerful cartoon face from SVG shapes—a yellow circle for the head, eyes, eyebrows, and a mouth drawn with `d3.arc()`. The eyebrows animate upward and back down via chained `transition().duration(2000)` calls. The code imports `select` and `arc` from the D3 v7 module, loads the library from UNPKG, and uses local ES6 modules to demonstrate VizHub's project structure.

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