Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley Face Part I

Public visualization

Smiley Face Part I

0 stars0🌍 Public
CCaptKathure
Last edited Apr 6, 2020
Created on Apr 5, 2020
Forked from Hello HTML

This example uses React and D3 to render a simple SVG smiley face. The React component computes coordinates for a yellow circle face, two black eyes, and a mouth using constant variables for width, height, and offsets. The SVG output is drawn with a yellow fill, black stroke, and a fixed stroke width. The code uses the ReactDOM `render` method to mount the component into the HTML root element, with D3 loaded but not directly used in the visible logic.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed