Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

HTML Starter tut

Public visualization

HTML Starter tut

0 stars1🌍 Public
AAndrew Merizalde
Last edited Mar 12, 2021
Created on Mar 11, 2021
Forked from HTML Starter

This example shows a simple smiley face rendered as an SVG graphic inside a React component. The face uses D3’s `arc` generator to draw the mouth, while circles form the head and eyes, with a yellow fill and black stroke. React renders the SVG into a root `div`, and D3 v6 is loaded alongside React 16 via CDN. The code also demonstrates basic JavaScript logging and JSX syntax for beginners.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed