Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Viz Tutorial

Public visualization

Viz Tutorial

0 stars0🌍 Public
Jjanneprice
Last edited Mar 24, 2022
Created on Mar 22, 2022
Forked from HTML Starter

This example shows a grid of 18 emoji faces, each with randomly sized eyes, rendered as SVG within a React application. The code demonstrates component composition, with separate React components for the head, face, eyes, and mouth. The mouth shape is generated using the `d3.arc()` API, while random eye sizes come from `Math.random()`. The visualization relies on React's `ReactDOM.render` to display the array of emoji components.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed