Fork of Blank Slate
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 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.