Skip to main content
100%

Fork of Let's make a face with D3.js

✓ Published0🌍 Public
DDarren-20
Last edited Jul 9, 2022
Created on Jul 9, 2022

An animated face built with D3.js v5 and React shows a red circle head with eyes, eyebrows, and a mouth. The eyebrows transition up and down in a looping motion using `transition.duration` and `transition.attr`. Rendered as SVG, the code uses D3’s `select` and `arc` to construct the mouth path, with eye and brow shapes positioned via translation attributes. The face is centered on a 960x500 SVG canvas with no external data.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes