Skip to main content
100%

Fork of Fork of Let's make a face: part 3 tweaks

✓ Published1🌍 Public
Nnikitamakkena
Last edited Feb 21, 2022
Created on Feb 21, 2022

This visualization shows a stylized smiley face composed of SVG shapes, including a circular head, two eyes, and a mouth. The face is centered within the viewport and uses gradients and contrasting colors for visual interest. Built with React and D3.js v7, it relies on the `arc` function from D3 to generate the mouth path, while React renders the SVG elements declaratively. A linear gradient fills the face and a separate gradient strokes its outline, with all geometric values defined as constants.

AI-generated description

Making a smiley face with React and D3

MIT Licensed

Similar vizzes