Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Homework1

Public visualization

Viewing a saved revision (read-only)

988171cd5a944799923689e0dd0d8cf7

Homework1

0 stars0🌍 Public
Hhuashe418
Last edited Mar 16, 2022
Created on Mar 15, 2022
Forked from Hello HTML

The visualization shows a grid of six by three cartoon faces, each randomly generated with varying eye and mouth sizes against a yellow background. Built with React and rendered as SVG, the code composes reusable components (`Face`, `BackgroundCircle`, `Eyes`, `Mouth`) and leverages D3’s `arc` generator to draw the smiling mouth shape. The faces are instantiated via `d3.range` and mapped in `index.js`, with attributes like `eyeRadius` and `mouthWidth` set through `Math.random()` for each iteration.

AI-generated description

A bare minimum HTML page.