Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML

Public visualization

Hello HTML

0 stars0🌍 Public
Mmichaellayp
Last edited Feb 1, 2023
Created on Jan 31, 2023
Forked from HTML Starter

This example renders a smiling face using SVG shapes drawn with React components, featuring a large yellow circle for the head and two smaller black circles for eyes. The code imports the `arc` function from d3 but does not use it, focusing instead on React’s declarative JSX to position elements with fixed numeric coordinates. It demonstrates a minimal integration of React 18 and d3 v7 in a single HTML page, using ReactDOM to mount the SVG into the root div. The visualization is static, with no interaction or data binding.

AI-generated description

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

See also React Starter.

SMILEY FACE PRACTICE :)

Comments

Sign in to join the discussion.

MIT Licensed