Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Ccharulachu
Last edited Sep 8, 2021
Created on Sep 6, 2021
Forked from HTML Starter

A yellow smiley face rendered with React and D3 v7 draws a circle for the head, two smaller circles for eyes, and an arc-generated path for the mouth. The React component uses JSX to create SVG elements, while D3's `arc()` function computes the mouth’s path with specified inner and outer radii. The face is centered on a 960 by 500 canvas, with dimensions and offsets stored as constants. All shapes are styled using SVG attributes like `fill` and `stroke`, producing a simple, static visualization.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes