Skip to main content
100%

Let's make a face!

✓ Published0🌍 Public
Ssriramvsharma
Last edited Jul 7, 2020
Created on Jul 7, 2020
Forked from Let's make a face!

This example builds a simple animated face using D3 v5 within a React framework. It renders a yellow circle as the head, then adds eyes, eyebrows, and a mouth using SVG primitives like `circle`, `rect`, and `path` with the `d3.arc` generator. The right eyebrow animates via chained `transition` calls, moving up and down over two seconds. The face is centered using a transformed `<g>` group, and all shapes are positioned relative to that group's origin.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes