Skip to main content
100%

Smiley Face Pt 1-2 Assignment

✓ Published0🌍 Public
Bbonbonwee
Last edited Apr 10, 2021
Created on Apr 10, 2021
Forked from Smiley Face Pt 1-2

A stylized smiley face rendered in SVG using React and D3’s `arc` generator for the mouth, with two animated circles for eyes that pulse via `<animate>` elements. The face fills a dark grey circle with a black stroke, while the left eye is overlaid with a darkkhaki geometric pattern defined in SVG `<pattern>` and `<path>` elements. D3 v6 computes the mouth’s inner and outer arcs, and React handles the component structure and JSX state. The example uses fixed pixel dimensions and coordinates, with no external data source.

AI-generated description

Half-way to a smiley face!

MIT Licensed

Similar vizzes