Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
MMarcoEsposito890
Last edited Dec 17, 2021
Created on Dec 13, 2021
Forked from Hello HTML

This example shows a smiling face composed of SVG shapes, rendered interactively in a full-window view. The face is built from React components that assemble a yellow background circle, two eyes, and an arc-based mouth, all centered and scaled dynamically to the viewport. The code uses React for component structure and state, alongside D3 v5’s `arc` generator to define the mouth’s path. The SVG is rendered directly by React via the `FaceContainer`, which translates all elements to the screen’s center, with the overall layout driven by window dimensions.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes