Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello HTML

Public visualization

Viewing a saved revision (read-only)

3ab7a8759bae4cc0824ce9678a766e89

Fork of Hello HTML

0 stars0🌍 Public
HHaley Jeppson
Last edited Oct 6, 2021
Created on Oct 6, 2021
Forked from Hello HTML

This example renders a large yellow smiley face that fills the browser window using React and D3. The face is drawn with SVG circles for the head and eyes, while the mouth is created using the `d3.arc` generator with inner and outer radii and specified start and end angles. The React component computes dimensions from `window.innerWidth` and `window.innerHeight`, centering the graphic. The code uses React 16.9 and D3 v7, with all elements positioned within a single `<g>` transform.

AI-generated description

A bare minimum HTML page.