Skip to main content
100%

Let'd make a face with D3.js!

✓ Published0🌍 Public
Ppreetham
Last edited Jan 23, 2020
Created on Jan 23, 2020

A yellow circle with eyes, eyebrows, and a mouth forms a cartoon face in SVG. D3.js v5 selections append the facial features, while a chained `transition().duration(2000)` animates the eyebrows up and down. The code uses `d3.select`, `d3.arc` (commented out), and attribute setters like `.attr()` and `.transition()` to build the static face and its motion. React hosts the D3 code, rendering into an SVG element with a fixed width and height.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes