Skip to main content
Public

Share visualization

Loading preview…

Hello HTML

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Hello HTML

0
CCheng Tang
Last edited Oct 22, 2022
Created on Oct 21, 2022
Forked from Hello HTML

This example renders a grid of smiley faces using React components and D3’s arc generator. Each face consists of a yellow background circle, two black eyes, and a mouth drawn with `d3.arc()`, all composed inside an SVG via a shared `FaceContainer` that applies a translation transform. Fifty faces are generated with randomly varying eye radii, producing subtle visual differences. The code demonstrates component reuse, D3’s `arc` API for path generation, and React’s rendering of SVG elements.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed