Skip to main content
100%

Lets make a face with D3 js!

✓ Published4🌍 Public
Nnsadath
Last edited Dec 9, 2020
Created on Dec 8, 2020
Forked from Cars report

This example builds a simple cartoon face from SVG primitives using D3.js. Yellow circles form the head and eyes, while rectangles serve as eyebrows and an arc generator creates a mouth. The eyebrows animate through a chained `transition().duration()` sequence, moving up and down repeatedly. The code uses `select`, `arc`, and `attr` to position shapes on an SVG canvas within a React framework.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes