Skip to main content
100%

Let'd make a face with D3.js!

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

A smiling face is drawn with SVG shapes, including a yellow circle, eyes, and a mouth created using `d3.arc()` with a custom inner and outer radius. The eyebrows are animated with `transition().duration(2000)`, moving up and down over two seconds using chained transitions on their `transform` attribute. Built with D3 v5 in a React framework, the visualization uses `select` and `arc` imports from the D3 library, with all elements appended to a centered `<g>` group within an SVG canvas of 960 by 500 pixels.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes