Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Pt 1-2 Assignment

Public visualization

Smiley Face Pt 1-2 Assignment

0 stars0🌍 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!

Comments

Sign in to join the discussion.

MIT Licensed