Skip to main content
100%

DV with D3

✓ Published0🌍 Public
SSoujanya C. Aryal
Last edited Dec 30, 2023
Created on Dec 30, 2023
Forked from HTML Starter

This example shows a grid of 18 cartoon faces rendered in React with SVG. Each face consists of a yellow background circle, two black eyes, and a mouth drawn using the d3.arc() API, with randomized eye radius for variation. The reusable React components—Face, FaceContainer, BackgroundCircle, Eyes, and Mouth—are composed to build the visual. The faces are generated from a d3.range() array, and the entire scene is rendered into the DOM using ReactDOM.render().

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes