Skip to main content
100%

Assignment 1: 66 DOD

✓ Published0🌍 Public
YYashashvi Singh
Last edited Mar 4, 2022
Created on Feb 21, 2022
Forked from Hello HTML

The visualization displays a grid of 18 randomly generated smiley faces, each rendered as a yellow circle with black eyes, white pupils, and an arc-based mouth. Built with React and D3 v7, the code composes reusable components like `BackgroundCircle`, `Eyes`, and `Mouth` using SVG elements. Each face’s eye radius, pupil size, and mouth width vary via `Math.random()`, creating subtle visual diversity across the repeated layout. The `d3.arc` API generates the mouth curves, while SVG circles handle facial features within a translated coordinate system.

AI-generated description

A smiley face but trying to make it cuter XD

MIT Licensed

Similar vizzes