Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Smiley face part 1

Public visualization

Viewing a saved revision (read-only)

6f211604749e40ff99b26c8e7e9d4e8e

Smiley face part 1

0 stars0🌍 Public
Eellefeliz
Last edited Jan 10, 2022
Created on Jan 9, 2022
Forked from Hello HTML

This example renders a classic yellow smiley face using D3 v7 and React. It constructs the face from SVG shapes, with a large yellow circle for the head, white eye regions with brown pupils, and D3 arc paths for the mouth and nose. The `d3.arc` API defines the mouth and eye-lash arcs using inner and outer radii with start and end angles. The composition is centered on a 960 by 500 canvas, and the code explicitly uses React's `ReactDOM.render` to mount the component.

AI-generated description

A bare minimum HTML page.