Skip to main content
100%

Fork of Hello HTML

✓ Published0🌍 Public
Aaramaki-san
Last edited Jan 1, 2022
Created on Apr 27, 2021
Forked from Hello HTML

This example shows a cartoon face rendered with reusable React components, featuring a yellow circular background, two black eyes, and a smiling mouth. The code combines React for component structure with D3’s `arc` generator to create the mouth’s curved path. A `FaceContainer` wraps the SVG output, centering all elements via a `transform` translation. The face’s dimensions and positions—such as eye offset, stroke width, and mouth radius—are passed as props from a top-level `App` component, demonstrating a modular, data-driven approach to static SVG visualization.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes