Skip to main content
100%

Fork of Hello HTML

✓ Published2🌍 Public
MMarat
Last edited Apr 11, 2021
Created on Apr 11, 2021
Forked from Hello HTML

This example shows a simple smiley face composed of SVG shapes, rendered with React and D3. It uses fixed dimensions (960×500 pixels) and centers the face within an SVG container via a translated group. The face includes a yellow circle for the head, two black eye circles, and a mouth generated with the D3 `arc` generator. All geometry is defined by static constants, with no data loading or interaction. The visualization demonstrates component composition, where separate React components handle the background, eyes, and mouth, and the D3 `arc` API creates a curved path for the mouth.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes