Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello HTML!

Public visualization

Hello HTML!

0 stars0🌍 Public
Lleowrites
Last edited Dec 6, 2021
Created on Dec 6, 2021
Forked from Hello VizHub

This example demonstrates a minimal React application rendering a single yellow circle with a black outline as an SVG graphic. The code imports React and ReactDOM directly from UNPKG-hosted CDN libraries, defines a functional component that returns SVG markup, and mounts it into the page’s root element. It also includes a local ES6 module (`myMessage.js`) exporting a string, though that string is not displayed. The visualization serves as a simple introduction to combining React with SVG for declarative drawing.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.

Comments

Sign in to join the discussion.

MIT Licensed