Skip to main content
100%

Fork of Blank Slate

✓ Published0🌍 Public
NNita
Last edited Jan 29, 2024
Created on Jan 29, 2024

This example demonstrates the minimum viable setup for the VizHub V3 Runtime Environment, acting as a "Hello World" for the platform. It shows a blank container into which the exported `main` function from `index.js` injects content, logging an array of squared numbers to the console. The code relies on the V3 runtime’s automatic hot-reloading, triggered by the absence of an `index.html` file, and uses a `container` DIV argument to manage the visualization’s DOM elements. No external data or rendering libraries are present.

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