Skip to main content
100%

Fork of Blank Slate

✓ Published0🌍 Public
Aamauris@outlook.com
Last edited Jan 25, 2024
Created on Jan 25, 2024

A blank slate example demonstrates the minimal setup for a VizHub V3 visualization, rendering a red "Hello World!" message at a large font size directly into a container DIV via JavaScript. The runtime requires no `index.html`; instead, the exported `main` function receives a container element and sets its `innerHTML` with dynamic CSS styling. The code uses the V3 Runtime Environment's hot-reloading system, which supports interactive widget editing, such as Alt-drag for font-size changes. A second, static SVG file shows a circle and quadratic Bézier path, rendered with inline SVG attributes.

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