Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part 4

Public visualization

Viewing a saved revision (read-only)

6320083483d245c5b7d5fda0b276b2dc

Smiley Face Part 4

1 star3🌍 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)