Skip to main content
100%

Fork of Smiley Face Part V

✓ Published0🌍 Public
RRayed12
Last edited May 15, 2022
Created on May 15, 2022
Forked from Smiley Face Part V

A fork of Smiley Face Part V renders a yellow, black-stroked smiley face in React with SVG, centered on a 960×500 canvas. It splits components—BackgroundCircle, Eyes, and Mouth (using d3.arc)—into separate ES6 modules, with React Fragments composing the eyes. The code defines eyebrow rectangles but lacks the d3-selection logic to apply them, so only the static face appears. SVG output uses d3.v5 and React 16.9, with no visible data source or animation.

AI-generated description

Splitting React components into multiple files using ES6 modules. Bonus: React Fragments!

MIT Licensed

Similar vizzes