Skip to main content
100%

Face in D3.js

✓ Published1🌍 Public
ZZX_UNC
Last edited Jun 19, 2020
Created on Jun 19, 2020
Forked from Face in D3.js

A smiling face rendered in D3.js animates its rectangular eyebrows upward and downward. Built with React and D3 v5, the SVG uses circles for the eyes, a path generated by `d3.arc` for the mouth, and rects for the eyebrows. `d3.transition` with a duration of 2000 milliseconds drives the eyebrow movement, while attributes like `cx`, `r`, and `transform` position the static facial features around a centered group.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes