Skip to main content
100%

Fork of Blank Slate

✓ Published0🌍 Public
11363518300@qq.com
Last edited Jan 22, 2024
Created on Jan 22, 2024

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 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