Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
SSpon4ik
Last edited Nov 26, 2021
Created on Nov 24, 2021
Forked from Hello HTML

This example renders a classic smiley face using React and D3, displayed as SVG shapes. The code uses D3’s `arc()` generator to draw the mouth as a thick partial circle, while the face, eyes, and stroke are plain SVG circles. React 17 composes the component tree, and D3 v7 provides the arc path calculation, with all geometry positioned relative to the center of a 960×500 viewport. The result is a minimal, static illustration built from primitive shapes.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes