Skip to main content
100%

Fork of Not so Smiley Face

✓ Published0🌍 Public
CCecilia831
Last edited May 18, 2021
Created on May 18, 2021
Forked from Not so Smiley Face

A stylized smiley face rendered in SVG, with a red circular head, two black eyes, and a downward-opening mouth arc that makes the expression look "not so smiley." The face is positioned at the center of a 960x500 viewport, while the mouth is drawn separately from a fixed coordinate. Built with React for component structure and D3’s `arc` generator to compute the mouth path, the code defines the head radius, eye offsets, and mouth dimensions as constants. The visualization demonstrates combining React’s declarative JSX with D3’s geometry utilities for custom SVG drawing.

AI-generated description

Half way towards a Smiley Face

MIT Licensed

Similar vizzes