Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Tweak Smiley Face

Public visualization

Viewing a saved revision (read-only)

1558dc8d664843d6beeb56a870e3fc7d

Tweak Smiley Face

1 star1🌍 Public
BbeauMarko
Last edited Jan 20, 2021
Created on Jan 20, 2021
Forked from Smiley Face Part I

A tweakable smiley face is drawn with SVG, featuring a yellow head, elliptical eyes, and a curved mouth generated by d3's arc generator. The face is centered on a 960x500 canvas against a multi-color gradient background, while a vertical tricolor rectangle (blue, white, red) sits in the corner as a decorative element. The React component uses inline SVG elements like circle, ellipse, and path, with d3's arc() API to define the mouth's inner and outer radii and angle range. The code references React 17 and d3.v6, rendering through ReactDOM into the page's root div.

AI-generated description

A bare minimum HTML page.