Skip to main content
100%

Fork of d3 CSV

✓ Published1🌍 Public
Mmartfhill
Last edited Jan 6, 2022
Created on Jan 6, 2022
Forked from d3

This example displays a 3x3 grid of cartoon faces, each with randomized facial features, rendered as SVG circles, eyes, and mouths. Built with React and D3, it uses `d3.arc` to generate mouth paths and `d3.range` to create the grid array. The face geometry—including eye offsets, radii, and stroke width—varies per render due to random values from a shared `utils.js` module. The `FaceContainer` component applies a centered translation to position each face within its SVG canvas.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes