Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

html_css_svg

Public visualization

Viewing a saved revision (read-only)

d4f0e9d0f12c4bc487f793c17203ed96

html_css_svg

0 stars0🌍 Public
TTanupat B.
Last edited Mar 17, 2022
Created on Mar 15, 2022
Forked from HTML Starter

This example renders a grid of 18 randomly generated smiley faces using React components and D3’s `arc` generator for the mouths. Each face is composed of SVG circles for the background and eyes, with randomized stroke, eye, and mouth dimensions. The FaceContainer component wraps the shapes in an SVG group translated to the center, while background styling comes from inline CSS. The data is produced by D3’s `range` function and mapped to array of Face elements.

AI-generated description

halfway to smiley face