Skip to main content
100%

SVG-Fundamentals

✓ Published0🌍 Public
CChetan Tewari
Last edited Jan 22, 2024
Created on Jan 22, 2024

This example demonstrates the minimal setup for a VizHub V3 visualization, rendering a simple "Hello World!" text message. It shows how the runtime environment enables continuous hot reloading without an `index.html` file. The code exports a `main` function that receives a `container` DIV element and directly sets its `innerHTML` with inline styles, including a large, adjustable `fontSize` value. It relies entirely on the native DOM API and the VizHub V3 runtime, with no external libraries or data sources involved.

AI-generated description

A blank slate starting point showing the "Hello World" for the VizHub V3 Runtime Environment, which supports continuous hot reloading with interactive widgets.

  • There is no index.html - that's what triggers the V3 Runtime
  • The entry point is the main function exported from index.js
  • The main function takes an argument container, a DIV

Full course playlist: YouTube: Constructing Visualization 2024.

MIT Licensed

Similar vizzes