Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML

Public visualization

Hello HTML

0 stars1🌍 Public
Aask4jm
Last edited Jul 6, 2020
Created on Jul 6, 2020
Forked from Mouse follower

This example renders a grid of cartoon faces using React components and D3’s `arc` API for the mouth shape. Each face combines a yellow background circle, two eyes, and a mouth, all drawn as SVG elements within a `FaceContainer` that translates the coordinate system to the center. The `range` function from D3 generates 18 faces, and the code demonstrates how React functional components and D3’s arc generator work together to produce repeated, data-driven SVG visuals. The page loads React and D3 from CDNs and renders the output into a root div.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed