Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3-test

Public visualization

Viewing a saved revision (read-only)

c18812fabdae416895e8fa5193aa72f4

d3-test

1 star0🌍 Public
NNikita Pavlienko
Last edited Mar 30, 2022
Created on Mar 29, 2022
Forked from HTML Starter

This example generates a grid of 4,096 randomly varied cartoon faces, each rendered as an SVG. It uses D3’s `arc` generator to draw mouths and noses, while React components compose the face’s background, eyes, and facial features. The code leverages `d3.range` to create the array of faces, with each face’s dimensions and feature sizes determined by `Math.random()`.

AI-generated description