Skip to main content
100%

Lets make a face with D3

✓ Published0🌍 Public
Mmandelmech
Last edited Sep 5, 2019
Created on Sep 5, 2019

A cheerful cartoon face rendered in SVG uses D3 v5 selections to build a yellow circle head, two eyes, and an arc-shaped mouth. The eyebrows animate upward and back down via chained `transition().duration()` calls, creating a surprised expression. Code imports `select` and `arc` from the D3 module, positioning elements with a centered `g` group and SVG attributes. The example demonstrates basic D3 data-joining-free shape construction and timed transitions.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes