Skip to main content
100%

Smile face

✓ Published0🌍 Public
OOleksandr Tyshchenko
Last edited Jun 5, 2022
Created on Jun 5, 2022
Forked from Hello HTML

This is a static SVG visualization of a smiling face, constructed with React and rendered using D3.js v5. It shows a yellow circle with a black stroke for the face, two black circles for eyes, and a curved path for a mouth. The code uses D3’s `arc` API to generate the mouth arc, specifying inner and outer radii and start/end angles, while React (via ReactDOM) renders the SVG elements. The face is centered at 960 by 500 pixels, with hardcoded eye and mouth offsets.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes