🌍 Public
Viewing a saved revision (read-only)
662ec76c38104e3ba11c8ace6cf4c113
Let's make a face with D3.js!
This example shows how to build a cartoon face using D3.js v5 with SVG shapes and animation. It draws a yellow circular head, two eyes, eyebrows, and a mouth using `select`, `circle`, `rect`, and `path` elements with an `arc` generator. The eyebrows animate up and down via chained `transition().duration(2000)` calls. The code uses static values for positioning and renders entirely in an SVG element, with no external data source.
AI-generated descriptionAn example showing the capabilities of VizHub.