Skip to main content
100%

Tutorial D3, React

✓ Published0🌍 Public
TTontonRitonBZH
Last edited Jan 8, 2023
Created on Jan 6, 2023
Forked from Hello HTML

A React application renders a grid of 18 cartoon faces, each with randomly generated stroke widths, eye positions and radii, and mouth dimensions. The faces are built from reusable components—`BackgroundCircle`, `Eyes`, `Mouth`, and `FaceContainer`—that compose SVG circles and a d3 path. The `Mouth` component uses `d3.arc` to generate a semicircular path. The code imports `range` from d3 to create the array of faces and uses ReactDOM to render the application into a single DOM element.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes