Skip to main content
Public

Share visualization

Loading preview…

Fork of Fork of HTML Starter

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Fork of HTML Starter

0
KK V VINITHA
Last edited Feb 24, 2022
Created on Feb 24, 2022

This example renders a simple smiley face using React and SVG, drawing a yellow circle with two smaller black circles for eyes. The code uses React 17 and D3 v7 via UMD scripts from unpkg, with ReactDOM rendering the SVG elements into the DOM. The visualization demonstrates basic SVG shape attributes like `cx`, `cy`, `r`, and `stroke`, while CSS removes the body margin to display the graphic edge-to-edge. The static composition is defined entirely through JSX coordinates and radii.

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