Skip to main content
100%

Fork of Blank Slate

✓ Published1🌍 Public
SSIVA PUPPALA
Last edited Feb 6, 2024
Created on Feb 6, 2024

This example demonstrates a minimal "Hello World" visualization in the VizHub V3 Runtime Environment. It renders a div element with centered text whose font size is controlled by a numeric variable. The code exports a `main` function that receives a container DIV and directly sets its innerHTML, illustrating the runtime's hot-reloading capabilities. No external libraries are used, only plain HTML and CSS within a JavaScript template literal. The visualization serves as a blank slate for building more complex graphics with interactive widgets.

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