Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML

Public visualization

Hello HTML

0 stars0🌍 Public
YYu Chu (Jeff)
Last edited Feb 27, 2021
Created on Feb 27, 2021
Forked from Hello HTML

A grid of 18 yellow smiley faces, each rendered as an SVG, demonstrates a React and D3 integration. The code uses `d3.range` to generate the array and `d3.arc` to create the mouth path, while each face’s eye size is randomly varied via `Math.random()`. The `FaceContainer` component, defined in `smiley.js`, combines a `BackgroundCircle` and positioned eye circles within a translated `<g>` element. This example shows how to build custom SVG components with React and D3’s shape generators.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed