Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Blank Slate

Public visualization

Fork of Blank Slate

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed