Skip to main content
100%

Smiley Face Part 4

✓ Published3🌍 Public
TTom-S82
Last edited Feb 24, 2020
Created on Feb 2, 2020
Forked from Smiley Face Part 1

A smiling face rendered with SVG uses React components for each facial feature, including a gradient-filled face, eyes with colored irises and pupils, a mouth built from D3 arcs, and teeth as rectangles. Eyebrows are separate React elements with CSS hover effects that change their fill and stroke via custom properties. The face rotates slightly, and the eyebrows animate upward using SVG's built-in `<animate>` element with keyTimes and repeatCount, while the entire scene sits on a green background gradient.

AI-generated description

Smiley Face Tutorial with React (with Basic hover effects on the eyebrows). Refactored slightly.

Source: Datavis 2020 Episode 7 - Let's Make a Face Part III (React & D3)

MIT Licensed

Similar vizzes