Skip to main content
100%

Hello HTML

✓ Published0🌍 Public
SSimon
Last edited Jul 12, 2021
Created on Jul 7, 2021
Forked from HTML Starter

This example renders a smiley face using React components to create SVG elements. The code uses ReactDOM to mount an App component that draws circles for the face, eyes, and an arc for the mouth via d3.arc(). It demonstrates React’s declarative syntax for SVG with JavaScript expressions for dynamic values like coordinates and stroke widths, while the commented HTML shows an equivalent static SVG version. The visualization uses d3.v7 and React 17 to produce a simple, interactive-free graphic.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes