Skip to main content
100%

CaraLoca

✓ Published0🌍 Public
JJulianLeira
Last edited Oct 19, 2021
Created on Oct 18, 2021
Forked from Hello HTML

This gallery example, CaraLoca, shows a grid of eighteen cartoon faces, each with the same yellow circular head, black stroke, and fixed mouth, but with randomly generated eye radii that vary from face to face. The faces are rendered as SVG elements using React components for the face, eyes, mouth, and background circle, with the d3 `arc()` function generating the mouth path. The data is not sourced from an external file; instead, a `range` from d3 creates the array that maps over to produce each face, with each eye’s radius set by `Math.random()`.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes