Skip to main content
100%

Fork of Fork of HTML Starter

✓ Published0🌍 Public
Ttarungunda
Last edited Feb 21, 2022
Created on Feb 21, 2022

This example shows a simple yellow face rendered as SVG circles, with black outlined cheeks, two eyes, and a red nose, centered on a 960 by 500 canvas. Using React 17 and D3 v7 loaded via UMD builds from unpkg, the code defines an `App` component that returns SVG elements with coordinates computed from constants. ReactDOM renders the component into a `div` with the id `root`, while CSS removes the body margin and hides overflow. The visualization demonstrates basic React JSX syntax, including curly braces for JavaScript expressions, and showcases how D3 and React can coexist in a single page.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes