Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Smile 1

Public visualization

Viewing a saved revision (read-only)

40e9b17c1f5e4250bcc3263028c333be

Fork of Smile 1

0 stars0🌍 Public
KKIRRAN P L
Last edited Dec 1, 2023
Created on Dec 1, 2023
Forked from Smile 1

This example renders a classic smiley face as a static SVG graphic using React. The visualization draws a yellow circle with a black outline for the head, along with two small circles for eyes and a half-annulus for the mouth. The code uses React and ReactDOM to create the SVG elements, and it leverages the `d3.arc()` API from D3 to generate the mouth’s path with specified inner and outer radii and angular range. The composition is centered on a 960×500 canvas.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.