Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Exercício 1

Public visualization

Exercício 1

0 stars0🌍 Public
DDiego Mariano
Last edited Feb 13, 2022
Created on Feb 13, 2022

This example shows eight yellow smiley faces arranged in a grid, each drawn with a circular yellow face, two eyes, and an arc-based mouth. The code uses React components to compose the face from separate reusable parts, and D3’s `arc` generator to create the mouth path. The SVG container centers each face via a translated group, while the `CirculoAmarelo` and `Olhos` components draw the circle and eye pairs with configurable radii and positions. Random values for eye size and mouth thickness give each face slightly different features.

AI-generated description

Half way towards a smiley face.

Comments

Sign in to join the discussion.

MIT Licensed