Fork of Blank Slate
✓ Published0🌍 Public
This example demonstrates the VizHub V3 runtime environment using a minimal "Hello World" display. The code exports a `main` function that accepts a container DIV and sets its inner HTML with a styled text element, showing how to render content without an `index.html` file. The visualization uses plain JavaScript string interpolation to control the font size dynamically, which can be adjusted interactively via Alt-drag in the runtime.
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.
MIT Licensed