Fork of Let's make a face with D3.js
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed