Skip to main content
100%

Fork of Blank Slate

✓ Published0🌍 Public
Mmosesmunyasya@gmail.com
Last edited Jan 22, 2024
Created on Jan 22, 2024

This example demonstrates the minimal "Hello World" for the VizHub V3 Runtime Environment, rendering a large, centered text greeting inside a dynamic container. It shows how a single `main` function exported from `index.js` receives a DOM element and sets its inner HTML to display the message. The code uses inline CSS styling with a configurable `fontSize` variable, which can be adjusted interactively via alt-drag in the editor. This serves as a blank slate for building more complex visualizations within VizHub's hot-reloading framework.

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