Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello HTML

Public visualization

Fork of Hello HTML

0 stars0🌍 Public
YYiyun Lan
Last edited Dec 21, 2021
Created on Dec 20, 2021
Forked from Hello HTML

A yellow smiley face is drawn on an SVG canvas. The code defines a React component that renders two eyes and a mouth, with the face's background circle built as a reusable React sub-component. The mouth is created using D3's `arc` function to generate an SVG path with specified radii and angles. The example demonstrates combining React for component structure with D3 utilities for geometry, all rendered into a static SVG graphic.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed