Fork of Blank Slate
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 descriptionA 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
mainfunction exported fromindex.js - The
mainfunction takes an argumentcontainer, a DIV
Full course playlist: YouTube: Constructing Visualization 2024.