Skip to main content
100%

Smiley Face Part 4

✓ Published0🌍 Public
Aaigioma
Last edited Feb 20, 2020
Created on Feb 20, 2020
Forked from Smiley Face Part 4

This example shows a stylized smiling face composed of SVG shapes, including a gradient-filled head, eyes, pupils, teeth, tongue, and hoverable eyebrows. Built with React and D3 v5, the face is assembled from reusable components like `Face`, `Eye`, `EyeBrow`, and `Mouth`, with the mouth and tongue shaped using D3’s `arc` generator. The eyebrows change fill and stroke width on hover via CSS custom properties. The design uses a radial layout, rotation transforms, and a linear gradient defined in SVG, all rendered in a React component with D3 utilities.

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